Mikko Rantalainen <[EMAIL PROTECTED]> wrote:

>       gdk_window_move_resize(gw,x,y,w,h);

"How do I save and restore the size and position of a window" is a
question that is not covered too well in the FAQ. I cannot offer a
better entry since I really am a bit confused about the different ways
to set and get positions and sizes.

I have been experimenting a bit with different combinations and I am
currently using the following fragment to do this. Among the different
combinations I tried, this one seems to be working for most people:

        gtk_widget_set_uposition(GTK_WIDGET(window), x, y);
        gtk_widget_set_usize(GTK_WIDGET(window), w, h);
        gtk_widget_show(GTK_WIDGET(window));

-- 
Mvh. Anders

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to