RE: window re-size of application? - SUCCESS!



On Mon, 4 Feb 2002, Craig wrote:


So i tried a few people's suggestions (thanks very much!), but i'm still having
problems.

<snip>

  gtk_widget_set_usize(main_window, 400, 400);
  gtk_widget_queue_resize(main_window);



I tried a few more things and it now works!

I changed the above code in my function to read:

  GtkWidget *my_test;

  my_test = gtk_widget_get_toplevel (main_window);
  gdk_window_resize (my_test->window, 400, 400);


And voila! It resized the main window right away.

Thanks all for the suggestions and hints.

--
Craig.
+------------------------------------------------------+
http://www.wombat.ca               Why? Why not.
http://www.washington.edu/pine/    Pine @ the U of Wash.
+-------------=*sent via Pine4.42*=--------------------+






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