Re: Saving window position

2008-03-11 Thread jcupitt
On 11/03/2008, John Franklin [EMAIL PROTECTED] wrote: Can someone please tell me how to save and restore the window position and size of a GTK app? Searching on I save and restore window size by recording the user's preferred width and height in a configure handler, then on window creation,

Re: Saving window position

2008-03-11 Thread Gorshkov
John Franklin wrote: Can someone please tell me how to save and restore the window position and size of a GTK app? Searching on the web has pointed me in the direction of GnomeClient which I don't really understand. It seems very complicated for what I'm trying to do. Is there any sample

Re: Saving window position

2008-03-11 Thread jcupitt
On 11/03/2008, Gorshkov [EMAIL PROTECTED] wrote: to set the window position/size: gtk_window_move(window, x, y); gtk_window_set_default_size(window, width, height); I thought of another point to bear in mind: some window managers become unhappy if you set a size

Re: Saving window position

2008-03-11 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Franklin wrote: | Can someone please tell me how to save and restore the window position and size of a GTK app? Searching on | the web has pointed me in the direction of GnomeClient which I don't really understand. It seems very complicated | for

Re: Saving window position

2008-03-11 Thread John Franklin
Gorshkov wrote on 11 March 2008 at 10:28: to get the window position/size: gtk_window_get_position(window, x, y); gtk_window_get_size(window, width, height); to set the window position/size:

Locale definitions, dots and commas

2008-03-11 Thread Carlos Pereira
Hi, I received a message (see below) complaining about using dots instead of commas in decimal numbers. What are the best solutions for this, from the gtk point of view? What happens is that in my French locale, the decimal symbol is ',' not '.' ! Have a nice day, (and good luck with the bug).

Re: Locale definitions, dots and commas

2008-03-11 Thread Martín RV (OPENGeoMap)
Hi: Hi, I received a message (see below) complaining about using dots instead of commas in decimal numbers. What are the best solutions for this, from the gtk point of view? What happens is that in my French locale, the decimal symbol is ',' not '.' ! Have a nice day, (and good luck with