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

UIonePoint


Synopsis

pick one point in a rendering window

UIinteractor UIonePoint<NEvisible=1> {
view+notify+read;
string+read+nowrite+notify runEvent = "Control<Btn1Down>";
int state<val_state=4> = 1;

omethod+notify_inst+write inst<NEvisible=0,lang="cxx";interruptable=0> = "UIonePointUpdate";
};

Description

UIonePoint matches a single event in a rendering window, returning the x and y coordinates selected.

Subobjects

*view
x
y
time

Inherited from UIinteractor.

runEvent

String. Sets the event specification that is to be matched to trigger a change in the x and y values of the UIinteractor. The default is "<BtnLDown>" on Windows, and "<Btn1Down>" on Motif.

state

Integer. Indicates the current state of the runEvent. 0 = the event has not occurred. 1 = the event has occurred. The default is 1.

Example

Main.Viewers.SimpleViewer
v/view.v

File

v/UI.v

See Also

Related modules:

•      UIframeEtchedIn

•      UItwoPoint

 



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