UIIndex.gif Previous-2.gif Next-3.gif

UIbutton


Synopsis

generate an action


UIlabel UIbutton {
width = 100;
height = 24;
UIpixmap armedPixmap;
UItoolTip toolTip<export_all=2> {
message => <-.label;
};
int+opt+OPort2 do=0;

omethod+notify_inst+notify update<NEvisible=0,lang="cxx",interruptable=0>=
"UIbuttonUpdate";
};

Description

UIbutton generates an action when pressed.

Subobjects

label;
labelPixmap;
font;
alignment;
accelerator;
acceleratorText

Attributes inherited from UIlabel.

message => <-.label

Attribute inherited from the UIprimitive class.

x = 0; y;
width=100;
height= 24;

UIgeom class attributes.

canHaveChildren <Not visible in Network Editor>;
shellParent <Not visible in Network Editor>

Attributes inherited from UIconnection class.

events <Not visible in Network Editor>;
grouptoParent;
* parent;
&cursor

Attributes inherited from the UIwindow class.

&visible;
&active;
pixmap;
color;
fontAttribute;
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>

Attributes inherited from UIcore class.

armedPixmap

See UIpixmap .

toolTip

See UItoolTip . Export_all=2. Sets message to .label.

do

Integer. OPort2. This value is incremented each time the command is triggered. You attach this "trigger" output port to the input of UIcmdList.

Example

Examples.Applications.UIApp
examples/ui_samp.v
v/view.v

File

v/UI.v

See Also

Related modules:

•      UItoggle

 



UIIndex.gif Previous-2.gif Next-3.gif