Window Resize..




Hi,

I have the following code in a function to resize a window

        gtk_window_set_resizable (GTK_WINDOW (window1), TRUE);
        gtk_window_resize (GTK_WINDOW (window1),x * 10, 600);
        gtk_window_set_resizable (GTK_WINDOW (window1), FALSE);

The above code does not work (the window isn't resized). However if I do
this

        gtk_window_set_resizable (GTK_WINDOW (window1), TRUE);
        gtk_window_resize (GTK_WINDOW (window1),x * 10, 600);

..it does work but then the window is left as resizable by the user which I
don't want. Any idea's?? Thanks.
--
View this message in context: http://www.nabble.com/Window-Resize..-t1418895.html#a3824608
Sent from the Gtk+ - Apps Dev forum at Nabble.com.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]