Static
Private
_announcedStatic
Private
_guisGet the control given it's unique name.
get the associated control
control's unique name for this control
Private
_addPrivate
_addPrivate
_handlePrivate
_initPrivate
_selectCreate a button control
a button
unique name for this control
Optional
x: numberleft-hand pixel position
Optional
y: numbertop pixel position
Optional
w: numberwidth
Optional
h: numberheight
Create a side pane. The pane location is either 'north', 'south', 'east' or 'west'.
The pane will fill the whole width/height of the canvas depending on its position. The user controls how far the pane extends into the canvas when open.
a side pane
unique name for this control
the pane position ('north', 'south', 'east' or 'west')
the maximum depth the pane expands into the canvas
Create a single line text input control
a textfield
unique name for this control
Optional
x: numberleft-hand pixel position
Optional
y: numbertop pixel position
Optional
w: numberwidth
Optional
h: numberheight
Sets or gets the global tip text size. If no parameter is passed then the global tip text size is returned otherwise it returns this control
the global tip text size or this control
Optional
gtts: numbernew global tip text size
Static
getStatic
getGenerated using TypeDoc
Core class for the canvasGUI library
Use an instance of GUI (the controller) to control all aspects of your gui.