ui_scrolled_window(ui) HP Widgets ui_scrolled_window(ui)
NAME
ui_scrolled_window
SUPERCLASS
ui
DESCRIPTION
The ui_scrolled_window object provides an interface to the
HP XwswindowWidgetClass. It is a scrollable window that
may have one child. Scrollbars will appear only if the
width and/or height of the child is greater than the size
of the scrollable window.
INSTANCE VARIABLES
none
MESSAGES
create!
creates the widget.
EXAMPLE
ui create!;
ui_scrolled_window new: my_scrolled_window
parent = ui
create!
@ "height" : 300
@ "width" : 250 ;
ui_control_panel new: cp
parent= my_scrolled_window
@ "height" : 500
@ "width" : 400 ;
ui_title new: instructions
parent= cp
title= "Find the exit button"
@ x : 10
@ y : 10;
ui_button new: ebutton
parent= cp
label= "exit"
action= bye_bye
@ x : 370
@ y : 310;
actions new: bye_bye
tick_actions= "ui exit!";
ui on! start!;
SEE ALSO
ui, ui_control_panel, ui_popup, ui_button, ui_text,
ui_arrow, ui_rowcol
Please send comments and suggestions toconsult@rpi.edu