class_spinbox - dragonsoulz/godot GitHub Wiki

SpinBox

####Inherits: Range ####Category: Core

Brief Description

Numerical input text field.

Member Functions

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

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.