Re: Proper size for an OptionMenu
- From: John Cupitt <john cupitt ng-london org uk>
- To: Felix Braun <Felix Braun mail McGill ca>
- Cc: gtk-list gnome org
- Subject: Re: Proper size for an OptionMenu
- Date: Wed, 19 Sep 2001 16:31:47 +0100
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]