Re: storing and recovering settings

2005-03-28 Thread Claudio Polegato Jr.
Hi. You can try CIniFile. Home page: http://inifile.sourceforge.net Source forge: http://sourceforge.net/projects/inifile/ -- []'s Claudio Um peregrino de problemas; Um pergaminho de soluções. Stefan Kost escreveu: Hi, I've done this by having an abstract settings class and two implementatio

Re: Disabling menu And Modal dialog boxes!

2005-03-28 Thread Iago Rubio
On Tue, 2005-03-29 at 10:29 +0530, APR Trainees wrote: > hi, > > atually the approach we've folowed is slightly diff.. > we referred > www.gnome.org/projectc/ORBit2/appletstutorial.html I got a 404 here. Could you send me privately the full sources to this email address or post a link t

Re: storing and recovering settings

2005-03-28 Thread Stefan Kost
Hi, I've done this by having an abstract settings class and two implementation (GConfSettings and PlainfileSettings). Based on the configure run that checks if gconf is available or not, the respective subclass will be used. The plainfile settings can e.g. use the ini-file routines of glib. Ste

Re: Disabling menu And Modal dialog boxes!

2005-03-28 Thread APR Trainees
hi, atually the approach we've folowed is slightly diff.. we referred www.gnome.org/projectc/ORBit2/appletstutorial.html to answer ur questions: 1)callbacks for interacting with the menu that has 3items are get_request,display_about and set_request(Ive not shown them here).We associate t

RE: problem with gtk and frames

2005-03-28 Thread Freddie Unpenstein
> I've got a small problem with frames. I made a screenshot to > illustrate my problem at http://[snip]. Indeed you can see that the > frame borders are too close to the application border (about 1 pixel). Have you considered using tooltips to hide the long descriptions? Or perhaps even those

Re: storing and recovering settings

2005-03-28 Thread John Coppens
On Sun, 27 Mar 2005 11:38:08 -0500 Boromir <[EMAIL PROTECTED]> wrote: > Hi > > is there anyway to store and recover settings from an application > that i'm coding with gtk? i know that using gnome libraries i could do > it but i don't want to use gnome,just gtk to reduce memory > consumption..for

Re: storing and recovering settings

2005-03-28 Thread Antonio Gomes
Hi Oskar, why don't you try to write/read these settings in a "pref file". You can use the glib and standard C functions to handle the desired data, defining a format to work in the file, reading and writing them as you want ... usually, applications create a hide file in the "~/" directory (if y

Re: problem with gtk and frames

2005-03-28 Thread chaica
Ok thx I solved my problems. On Mon, 2005-03-28 at 03:01 +0200, Gian Mario Tagliaretti wrote: > On Mon, 28 Mar 2005 02:38:50 +, chaica <[EMAIL PROTECTED]> wrote: > > > I use c++ and gtkmm. gtk_container_set_border_width() doesn't exist in > > the gtkmm documentation. I tried to use it but I

Re: Disabling menu And Modal dialog boxes!

2005-03-28 Thread Iago Rubio
On Mon, 2005-03-28 at 12:30 +0530, APR Trainees wrote: > hi again, > > Thanx for the help... > as u mentioned here id tried using this earlier too.Irwin had > suggested set_sensitive also. > The problem is when i try to use these it says that the 1st argument > if from an incompatible pointer type

text view, text buffer, text iter problems

2005-03-28 Thread stanks
Hi I am trying to get text buffer so i can save it to disk. I have found a few examples about that, but i get NULL every time when i call gtk_text_buffer_get_text. My example: Opening file: I call gtk_text_view_new then gtk_text_view_get_buffer and i save handle i receive from gtk_text_view_get