defines the action taken when a UI object is selected
UImenuItem UIcmd<NEcolor0=0x00ffff> {
string message;
string accelerator;
string acceleratorText;
int+opt+OPort2 do=0;
Boolean active;
#ifdef MSDOS
int+nosave+nonotify id<NEvisible=0>;
#else
ptr+nosave+nonotify window<NEvisible=0>;
#endif
method+opt+notify_deinst delete<NEvisible=0,lang="cxx",interruptable=0> = "UIcmdDelete";
method+opt+notify_val update<NEvisible=0,lang="cxx", interruptable=0> = "UIcmdUpdate";
UIcmd is the base class for UIoption objects which generate a single action, in code, when selected.
Multiple UIcmds, one for each action, are used as the parent objects in networks for all "list of command" objects such as UIcmdList, its derived objects UIoptionList and UIradioList, and their derived objects and macros UIoptionBox, UIoptionBoxLabel, UIradioBox, and UIradioBoxLabel.
When selected, a user interface object causes an action to happen. There is a UIcmd "behind it," in V or as a parent object in a network, that specifies what is to happen.
UIcmd activates when the left mouse button is pressed. Its do subobject value changes each time the command triggers.
pixmap <Not visible in Network Editor>;
color <Not visible in Network Editor>;
fontAttribute <Not visible in Network Editor>;
handle <Internal Object. Not visible in Network Editor>;
fontlist <No longer used. Not visible in Network Editor>;
cxxhandle <Internal Object. Not visible in Network Editor>;
motif_resources <No longer used. Not visible in Network Editor>;
window_resources <No longer used. Not visible in Network Editor>;
layout <No longer used. Not visible in Network Editor>
Examples.Visualization.Surf_Plot