Name

e_popup_create_menu —

Synopsis

GtkMenu * e_popup_create_menu (emp,  
 target,  
 mask); 
EPopup *  emp;
EPopupTarget *  target;
guint32  mask;

Arguments

emp

An EPopup derived object.

target

popup target, if set, then factories will be invoked. This is then owned by the menu.

mask

If supplied, overrides the target specified mask or provides a mask if no target is supplied. Used to enable or show menu items.

Description

All of the menu items registered on emp are sorted by path, and then converted into a menu heirarchy.

Return value

A GtkMenu which can be popped up when ready.