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

UItextTypein


Synopsis

macro to create UItext widget with label

macro UItextTypein {
ilink UIparent;
ilink slabel;
ilink stext;

UIpanel panel {
parent => UIparent;
width = 200;
height => <-.text.height;
};
UIlabel text_label {
parent => panel;
label => slabel;
alignment = 2;
x = 0;
y = (<-.tex.height - .height) / 2;
width = 50;
};
UItext text {
parent => panel;
&text => stext;
x = 60;
y = 0;
width => <-.panel.width - 60;
};
};

Description

UItextTypein is a macro that creates a UItext widget that already includes a UIlabel and an enclosing UIpanel.

Subobjects

UIparent

An input port to connecte to the parent widget that contains the UItextTypein.

slabel

An input port to connect to a string object that names the UItextTypein.

stext

An input port to connect to a string object that defines the text to display in the UItext widget.

Example

Graphics_Display.Editors.UI_Editors.TrackEdit
v/view.v

File

v/ui_macro.v

See Also

Related module:

•      UItext

 



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