Name

e_popup_create_menu_once —

Synopsis

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

Arguments

emp

EPopup, once the menu is shown, this cannot be considered a valid pointer.

target

If set, the target of the selection. Static menu items will be added. The target will be freed once complete.

mask

Enable/disable and visibility mask.

Description

Like popup_create_menu, but automatically sets up the menu so that it is destroyed once a selection takes place, and the EPopup is unreffed. This is the normal entry point as it automates most memory management for popup menus.

Return value

A menu, to popup.