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, setting that preferred size with gtk_window_set_default_size(). I don't try to save and restore window position: this is usually best left to the user's window manager, in my opinion, since it knows what else is on the screen and where the clear parts are. John _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list