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

UItoggle


Synopsis

UIoption triggered by press/release of mouse button or Enter key

UIbutton UItoggle {
width = 100;
height =>UIdata.UIfonts[0].lineHeight;

Boolean+opt+OPort2 &set=0;

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

Description

UItoggle is a type of UIbutton that is triggered by pressing and releasing a mouse button when the pointer is over it, or by pressing and releasing the Enter key when the window has focus.

Subobjects

armedPixmap;
toolTip;
do

Inherited from UIbutton .

label;
labelPixmap;
font;
alignment;
accelerator;
acceleratorText

Attributes inherited from UIlabel.

message => <-.label

Attribute inherited from the UIprimitive class.

x = 0; y;
width=100;
height=> <=UIdata.UIfonts[0].lineHeight;

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.

&set

(Boolean. OPort2) Specifies the state of the toggle. set = 1, unset = 0. The default is 0.

Example

Examples.Applications.UIApp
examples/ui_samp.v
Main.Filters.threshold (and many others)
v/modules.v
AVS5_Modules.Mappers.ACU_brick (and many others)
v/ACUmods.v

File

v/UI.v

 



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