UIbutton

Synopsis

Generates 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

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.

shellParent <Not visible in Network Editor> =1;

canHaveChildren <Not visible in Network Editor> =1(can have children);

UIConnection class attributes inherited from UIwindow

events <Not visible in Network Editor>;

grouptoParent;

* parent;

&cursor

Attributes inherited from the UIwindow class.

&visible=1;

&active;

pixmap;

color;

fontAttribute;

fontlist <No longer used. Not visible in Network Editor>;

cxxhandle <Internal Object. Not visible in Network Editor>;

handle <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 UIcoreclass through UIwindow.

armedPixmap

See UIpixmap

toolTip

See UItoolTip. Export_all=2. Sets message to label

do

Integer. OPort2. This value is updated each time the button is triggered. You attach this trigger output port to an input .

Example

Examples.Applications.UIApp

examples/ui_samp.v

v/view.v

File

v/UI.v

See Also Related Modules

UItoggle