Re: How to send a 'resize' event?



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]