class_spinbox - dragonsoulz/godot GitHub Wiki
SpinBox
####Inherits: Range ####Category: Core
Brief Description
Numerical input text field.
Member Functions
- void set_suffix ( String suffix )
- String get_suffix ( ) const
- void set_prefix ( String prefix )
- String get_prefix ( ) const
- void set_editable ( bool editable )
- bool is_editable ( ) const
- Object get_line_edit ( )
Description
SpinBox is a numerical input text field. It allows entering integers and floats.
Member Function Description
set_suffix
- void set_suffix ( String suffix )
Set a specific suffix.
get_suffix
- String get_suffix ( ) const
Return the specific suffix.
set_prefix
- void set_prefix ( String prefix )
Set a prefix.
set_editable
- void set_editable ( bool editable )
Set whether the spinbox is editable.
is_editable
- bool is_editable ( ) const
Return if the spinbox is editable.