Name

e_menu_activate —

Synopsis

void e_menu_activate (em,  
 uic,  
 act); 
EMenu *  em;
struct _BonoboUIComponent *  uic;
int  act;

Arguments

em

An initialised EMenu.

uic

The BonoboUI component for this views menu's.

act

If TRUE, then the control is being activated.

Description

This is called by the owner of the component, control, or view to pass on the activate or deactivate control signals. If the view is being activated then the callbacks and menu items are setup, otherwise they are removed.

This should always be called in the strict sequence of activate, then deactivate, repeated any number of times.