Re: [gtk-list] popup/context menus without a parent widget?




On Mon, 10 May 1999, Chris Saari wrote:
> Is is possible to build a popup/context menu that doesn't have a GTK parent
> widget? In other words, can I just build a menu and make a call to have it
> display at some x,y coordinates?
> 

Sure, it looks to me like calling gtk_menu_popup() with NULL for the
parent items will just work. You might look at
libgnomeui/gnome-popup-menu.c for an example (if you don't want to
download Gnome, try www.gnome.org/lxr).

Havoc




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