recently I had that same problem. See the thread: http://mail.gnome.org/archives/gtkmm-list/2008-April/msg00158.html for the solution. > In order for the Expander to contract his parent window the parent > windows "resizable" property needs to be set to "false". cheers Chris http://www.acurana.de/ Am Montag 09 Juni 2008 22:20:49 schrieb Tiberius Duluman: > I have a dialog that contains several widgets to collect data from the > user. Last widget is an Expander that hides some advanced and not mandatory > data. When the dialog is opened, the Expander is collapsed. If the user > expands the > Expander, the window is resized so all the controls fits into the dialog. > But, when the Expander is collapsed, the dialog is not resized back to a > smaller size, so all the widgets appear sparse. > I've tried to resize the dialog on the changed signal of expanded property, > but it did not work. I've also tried to connect an idle handle on the > changed signal > and resize the window from the connected idle handler, but it did not > work also. > Does anybody have any idea how I can resize the dialog when the expander > is collapsed? > _______________________________________________ > gtkmm-list mailing list > gtkmm-list gnome org > http://mail.gnome.org/mailman/listinfo/gtkmm-list |