SpinBox

Inherits: Range < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Numerical input text field.

Member Functions

Object 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

Object 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.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_spinbox.html