Window Resize..
- From: 3saul <saul_lethbridge hotmail com>
- To: gtk-app-devel-list gnome org
- Subject: Window Resize..
- Date: Sat, 8 Apr 2006 19:51:58 -0700 (PDT)
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]