window re-size of application?



Hi all,
 I wrote an GTK app (initially created using Glade) and am having trouble doing
one thing with it:

How the heck do i dynamically re-size the main window?
Here's what i mean:  Initially, i create the window with a specified width &
height.  But i have a drop down toggled menu item that i wish to re-draw the
window with a slightly larger width & height when the user selects this option.

Is there any sort of "gtk_window_resize()" function?
I searched the archives for this list and did find a "gdk_window_resize()", but
i dont' think that is what i want, is it?

Also, do i have to pass in the 'main_window' pointer into the toggled menu-item
function?

Any ideas/suggestions/ or places i could look for code examples would be greatly
appreciated.

Here's a couple code snippets from my app:



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