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

ui(ui) HP Widgets ui(ui)

NAME

ui - superclass for HP widget classes

DESCRIPTION

The ui class is an abstract class that implements many functions common to the classes used to manipulate the HP widgets.

SUPERCLASS

object

INSTANCE VARIABLES

parent is the object that represents the parent HP widget.

event is a list of object to receive X events.

enter_action is the name of an actions object to be invoked when the window representing the object is entered.

exit_action is the name of an actions object to be invoked when the window representing the object is left.

application is the name of the application. This is displayed in the main application window's title bar.

display is the name of an xdisplay object representing the display on which the application will appear.

MESSAGES

@ name set the name of the current resource to name. Has the side-effect of creating the underlying HP widget if it does not already exist. To preserve capitalization, you should place the name in quotes.

: arg set the value of the current resource to arg.

application= string set the application name.

application? get the application name.

cont! start (or restart) the main event loop.

create! Create the HP widget underlying this object.

display= arg set the display name.

display? get the display name.

display_id? get the id of the display.

enter_action= name set the object's enter action.

enter_action? get the object's enter action.

event= args set the list of objects that will receive events. They must understand the event: message.

event+ args add to the list of objects that will receive events.

event- args subtract from the list of objects that will receive events.

event! print the list of objects that will receive events.

event? return the list of objects that will receive events.

exit! terminate the application.

exit_action= name set the object's exit action.

exit_action? get the object's exit action.

input_mask= args Set the X event masks for this object.

input_mask+ args Add to the X event masks for this object.

id? get the underlying HP widget's widget id.

off! turn off the underlying widget (unmap it).

on! turn on the underlying widget (map it).

parent= name set the parent object's name.

parent? get the parent object's name.

pause! stop the main event loop, returning control to the LYMB parser.

pointer_value? return the value of the current resource as a pointer.

resource? return the name of the current resource.

resources? return a list of all resources associated with the underlying widget.

scalar_value? return the value of the current resource as a scalar.

start! start (or restart) the main event loop.

stop! stop the main event loop, returning control to the LYMB parser.

string_value? return the value of the current resource as a string.

window_id? return the X window id of the underlying widget.

SEE ALSO

event, ui_arrow, ui_bulletin, ui_button, ui_color, ui_control_panel, ui_list, ui_manipulator, ui_menu, ui_menu_button, ui_popup, ui_row_column, ui_scrolled_window, ui_select, ui_select_action, ui_slider, ui_text, ui_title, ui_toggle, ui_workspace


Please send comments and suggestions to
consult@rpi.edu