SpinBox¶
Inherits: Range < Control < CanvasItem < Node < Object
Category: Core
Brief Description¶
Numerical input text field.
Member Functions¶
LineEdit | get_line_edit ( ) |
String | get_prefix ( ) const |
String | get_suffix ( ) const |
bool | is_editable ( ) const |
void | set_editable ( bool editable ) |
void | set_prefix ( String prefix ) |
void | set_suffix ( String suffix ) |
Description¶
SpinBox is a numerical input text field. It allows entering integers and floats.
Member Function Description¶
- LineEdit get_line_edit ( )
- String get_prefix ( ) const
- String get_suffix ( ) const
Return the specific suffix.
- bool is_editable ( ) const
Return if the spinbox is editable.
- void set_editable ( bool editable )
Set whether the spinbox is editable.
- void set_prefix ( String prefix )
Set a prefix.
- void set_suffix ( String suffix )
Set a specific suffix.