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
text
ustringThe button's text
is_default
boolIf
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
x
intX position where the button will be shown.
y
intY position where the button will be shown.
text
ustringThe 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
x
intX position where the button will be shown.
y
intY position where the button will be shown.
text
ustringThe button's text
is_default
boolIf
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.