Re: Proper size for an OptionMenu



Felix Braun wrote:
> I'm having problems getting an OptionMenu to take the right size, i.e. in
> a way that its children are displayed properly.

Hi Felix, you need to show the menu pane to get it to size correctly. Add 

	gtk_widget_show_all(menu);

just after your last gtk_menu_append().

The menu pane isn't a true child of the option menu, so it isn't shown
automatically when you do a _show_all() on the dialog.

John




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