API ReferenceEditor
Buttonclass
A simple button widget.
Constructors3
Showing 3 constructors
No results match this filter.
Methods7
Showing 7 methods
protected virtual void OnClicked()
Returns:
void—protected virtual void OnPaint()
Returns:
void—protected virtual void OnPressed()
Returns:
void—protected virtual void OnReleased()
Returns:
void—protected virtual void OnToggled()
Returns:
void—No results match this filter.
Properties5
Showing 5 properties
public string Editor.Button.Icon { get; set; }
Sets an icon for the button via a filepath.
Returns:
string—public bool Editor.Button.IsChecked { get; set; }
Whether this button is checked. See `Editor.Button.IsToggle`.
Returns:
bool—public bool Editor.Button.IsToggle { get; set; }
Whether this button can be toggled on or off. See `Editor.Button.IsChecked`.
Returns:
bool—public string Editor.Button.Text { get; set; }
Text on the button.
Returns:
string—No results match this filter.