<<<<<<<<<<<<<<<<<

ui_title(ui) HP Widgets ui_title(ui)

NAME

ui_title - HP Static Text widget

DESCRIPTION

The ui_title class provides an interface to the HP Static Text widget.

SUPERCLASS

ui

INSTANCE VARIABLES

title is the string that will be displayed.

MESSAGES

title? returns the title string.

title= string sets the title.

EXAMPLES

/* initialize ui */

ui application= "demo"

create!;

/* create the control panel */

ui_control_panel new: the_panel

parent= ui;

/* create the title that will be displayed at point (10, 10)

(The position is set using the panel widget's resources) */

ui_title new: my_title

parent= the_panel

title= "Hi there! Isn't this fun?"

create!

@ "xOffset" : 10

@ "yOffset" : 10;

/* display the window and title */

ui on! start!;

SEE ALSO

ui, ui_control_panel, ui_text


Please send comments and suggestions to
consult@rpi.edu