buffer_position is the position in the text string.
line is the text string.
single_line is a flag that indicates whether the text will be a single line or not. (True = 1, False = 0)
action= action_object_name sets the action instance variable.
buffer_position? returns the value of the buffer_position instance variable.
buffer_position= value sets the buffer_position instance variable.
line? returns the text string.
line= string sets the text.
single_line? returns the value of the single_line instance variable.
single_line= value sets the single_line instance variable.
single_line! sets the single_line instance variable to 1.
ui application= "demo"
create!;
/* create the control panel */
ui_control_panel new: the_panel
parent= ui;
/* create the text that will be displayed at point (10, 10)
(The position is set using the panel widget's resources) */
ui_text new: my_text
parent= the_panel
line= "Hi there! You can edit this line."
single_line!
create!
@ "width" : 150
@ "xOffset" : 10
@ "yOffset" : 10;
/* display the window and text */
ui on! start!;