Re: popup_menu Question
- From: "Emmanuel Julien" <xbarr ninomojo com>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: popup_menu Question
- Date: Thu, 06 Jan 2005 20:28:36 +0900
Hi everyone,
Is there a way to popup (as in popup menu) in GTK+ (C) the application
menu (or the menubar)?
I'm asking because it's really not practical for me to popup a custom
menu as my menus are very dynamic.
gtk_menu_popup() takes any menu as parameter, so in theory should work
if you pass your main menu in (never tried myself, though).
Well, unless I'm mistaken a menubar is containing only menu items and no
menu,
at least I could not find one.
Both menubar and menu derivate from menushell yet poping the menubar fails
on GTK_IS_MENU assertion, the same happens when trying to popup a
getsubmenu
from an item, it seems the gtk_menu object is really special and not used
in
a traditional menu.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]