Re: GtkOptionMenu menu is invisible
- From: rob <mailingLists pangolin org uk>
- To: gtk list <gtk-app-devel-list gnome org>
- Subject: Re: GtkOptionMenu menu is invisible
- Date: 15 Oct 2001 23:42:18 +0100
And though it all seems to work,when the option menu is clicked no menu
is shown just a tiny little square.
I can call gtk_option_menu_get_menu look at the menu and it all seems
correct and the lable in the option menu itself is correct (it is the
first menu item.)
Am I doing something obviously wrong here?
Yes. Since the menu is in its own window, the menu items have to be
shown individually. You need to issue a gtk_widget_show(menuItem); just
after the call to gtk_menu_append().
I tride sticking in a gtk_widget_show but it didn't help.
Where and how did you try a gtk_widget_show()?
A thousand thank-yous :))))))))))))))) I called gtk_widget_show on the
menu but should have called gtk_widget_show_all so it filtered down to
menu items doh.
--
David dindinx org
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
rob
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]