[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to send a 'resize' event?
- From: Carlos Pereira <carlos pehoe civil ist utl pt>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to send a 'resize' event?
- Date: Sat, 28 Oct 2000 22:45:06 +0100
>In my application, some buttons (into a vbox) can be hidden.
>My problem is to force GTK to replace the other buttons (which are
>shown) automatically.
>I know that the event 'configure' asks to gtk to resize the window, but
>I don't know how to use it...
Try something like this:
gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, TRUE);
The last TRUE means that the window should be updated
automatically, everytime the size changes.
Carlos
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]