Constructor Button
Button()
public Button()
Remarks
The width of the Button is computed based on the text length. The height will always be 1.
Button(ustring, bool)
public Button(ustring text, bool is_default = false)
Parameters
textustringThe button's text
is_defaultboolIf
true, a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button.
Remarks
The width of the Button is computed based on the text length. The height will always be 1.
Button(int, int, ustring)
public Button(int x, int y, ustring text)
Parameters
xintX position where the button will be shown.
yintY position where the button will be shown.
textustringThe button's text
Remarks
The width of the Button is computed based on the text length. The height will always be 1.
Button(int, int, ustring, bool)
public Button(int x, int y, ustring text, bool is_default)
Parameters
xintX position where the button will be shown.
yintY position where the button will be shown.
textustringThe button's text
is_defaultboolIf
true, a special decoration is used, and the user pressing the enter key in a Dialog will implicitly activate this button.
Remarks
The width of the Button is computed based on the text length. The height will always be 1.