Difference between revisions of "GUIButton"
From Virtual World Web Wiki
(Documentation for the GUIButton class) |
(Documentation for the GUIButton class) |
||
Line 1: | Line 1: | ||
+ | A component representing a clickable button | ||
+ | |||
*'''Inherits class: [[GUISelectableComponent]]''' | *'''Inherits class: [[GUISelectableComponent]]''' | ||
* This is a JavaScript visible object | * This is a JavaScript visible object | ||
Line 6: | Line 8: | ||
===Properties=== | ===Properties=== | ||
:{{CSharp|GUIImageBox Icon {get;} }} | :{{CSharp|GUIImageBox Icon {get;} }} | ||
+ | :: | ||
+ | ::Reference to the icon Imagebox on the button | ||
===Events=== | ===Events=== | ||
:{{CSharp|Click()}} | :{{CSharp|Click()}} | ||
+ | :: | ||
+ | ::Event fired when the user clicks the button | ||
:{{CSharp|RightClick()}} | :{{CSharp|RightClick()}} | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 14:26, 15 January 2018
A component representing a clickable button
- Inherits class: GUISelectableComponent
- This is a JavaScript visible object
Remarks [edit]
Properties
- GUIImageBox Icon {get;}
- Reference to the icon Imagebox on the button
Events
- Click()
- Event fired when the user clicks the button
- RightClick()