dlMakeDlistButton
dlMakeDlistButton(
x_parentWidgetId
x_xPosition
x_yPosition
x_width
x_height
w_displayList
t_pressCallback
[ x_backgroundColor ]
)
=> t / nil
Description
Creates a button to display a display list in. The display list button is a rectangular region with a widget or window in which a display list is drawn and which dispatches a callback whenever the left mouse button is pressed within it.
Arguments
|
x_parentWidgetId
|
Parent widget to make the button within.
|
|
x_xPosition
|
x position of the upper-left corner of the button, in X Window System screen coordinates (where 0:0 is the upper-left corner of the widget).
|
|
x_yPosition
|
y position of the upper-left corner of the button, in X Window System screen coordinates (where 0:0 is the upper-left corner of the widget).
|
|
x_width
|
Width of the button.
|
|
x_height
|
Height of the button.
|
|
w_displayList
|
Display list to attach to the button.
|
|
t_pressCallback
|
SKILL expression evaluated whenever the left mouse button is pressed.
|
|
x_backgroundColor
|
Optional background color of the button.
|
Related Topics
View Display List Functions
Return to top