Struct gdnative::SpinBox
[−]
[src]
pub struct SpinBox { /* fields omitted */ }
core class SpinBox : Range
(manually managed)
Base class
SpinBox inherits Range and all of its methods.
Memory management
Non reference counted objects such as the ones of this type are usually owned by the engine.
In the cases where Rust code owns an object of this type, ownership should be either passed
to the engine or the object must be manually destroyed using SpinBox::free
.
Methods
impl SpinBox
[src]
pub fn as_range(&self) -> Range
[src]
Up-cast.
pub fn new() -> Self
[src]
Constructor.
Because this type is not reference counted, the lifetime of the returned object
is not automatically managed.
Immediately after creation, the object is owned by the caller, and can be
passed to the engine (in which case the engine will be responsible for
destroying the object) or destroyed manually using SpinBox::free
.
pub unsafe fn free(self)
[src]
Manually deallocate the object.
pub fn _gui_input(&mut self, arg0: Option<InputEvent>)
[src]
pub fn _text_entered(&mut self, arg0: GodotString)
[src]
pub fn set_suffix(&mut self, suffix: GodotString)
[src]
pub fn get_suffix(&self) -> GodotString
[src]
pub fn set_prefix(&mut self, prefix: GodotString)
[src]
pub fn get_prefix(&self) -> GodotString
[src]
pub fn set_editable(&mut self, editable: bool)
[src]
pub fn is_editable(&self) -> bool
[src]
pub fn _line_edit_focus_exit(&mut self)
[src]
pub fn get_line_edit(&mut self) -> Option<LineEdit>
[src]
pub fn _line_edit_input(&mut self, arg0: Option<InputEvent>)
[src]
pub fn _range_click_timeout(&mut self)
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for SpinBox
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl Deref for SpinBox
[src]
type Target = Range
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.