Name

e_menu_update_target —

Synopsis

void e_menu_update_target (em,  
 tp); 
EMenu *  em;
void *  tp;

Arguments

em

An initialised EMenu.

tp

Target, after this call the menu owns the target.

Description

Change the target for the menu. Once the target is changed, the sensitivity state of the menu items managed by em is re-evaluated and the physical menu's updated to reflect it.

This is used by the owner of the menu and view to update the menu system based on user input or changed system state.