Struct gdnative::FileDialog [−][src]
pub struct FileDialog { /* fields omitted */ }
core class FileDialog : ConfirmationDialog
(manually managed)
Base class
FileDialog inherits ConfirmationDialog 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 FileDialog::free
.
Methods
impl FileDialog
[src]
impl FileDialog
pub fn as_confirmation_dialog(&self) -> ConfirmationDialog
[src]
pub fn as_confirmation_dialog(&self) -> ConfirmationDialog
Up-cast.
pub fn new() -> Self
[src]
pub fn new() -> Self
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 FileDialog::free
.
pub unsafe fn free(self)
[src]
pub unsafe fn free(self)
Manually deallocate the object.
pub fn _unhandled_input(&mut self, arg0: Option<InputEvent>)
[src]
pub fn _unhandled_input(&mut self, arg0: Option<InputEvent>)
pub fn _tree_selected(&mut self)
[src]
pub fn _tree_selected(&mut self)
pub fn _tree_db_selected(&mut self)
[src]
pub fn _tree_db_selected(&mut self)
pub fn _dir_entered(&mut self, arg0: GodotString)
[src]
pub fn _dir_entered(&mut self, arg0: GodotString)
pub fn _file_entered(&mut self, arg0: GodotString)
[src]
pub fn _file_entered(&mut self, arg0: GodotString)
pub fn _action_pressed(&mut self)
[src]
pub fn _action_pressed(&mut self)
pub fn _cancel_pressed(&mut self)
[src]
pub fn _cancel_pressed(&mut self)
pub fn _filter_selected(&mut self, arg0: i64)
[src]
pub fn _filter_selected(&mut self, arg0: i64)
pub fn _save_confirm_pressed(&mut self)
[src]
pub fn _save_confirm_pressed(&mut self)
pub fn clear_filters(&mut self)
[src]
pub fn clear_filters(&mut self)
pub fn add_filter(&mut self, filter: GodotString)
[src]
pub fn add_filter(&mut self, filter: GodotString)
pub fn set_filters(&mut self, filters: StringArray)
[src]
pub fn set_filters(&mut self, filters: StringArray)
pub fn get_filters(&self) -> StringArray
[src]
pub fn get_filters(&self) -> StringArray
pub fn get_current_dir(&self) -> GodotString
[src]
pub fn get_current_dir(&self) -> GodotString
pub fn get_current_file(&self) -> GodotString
[src]
pub fn get_current_file(&self) -> GodotString
pub fn get_current_path(&self) -> GodotString
[src]
pub fn get_current_path(&self) -> GodotString
pub fn set_current_dir(&mut self, dir: GodotString)
[src]
pub fn set_current_dir(&mut self, dir: GodotString)
pub fn set_current_file(&mut self, file: GodotString)
[src]
pub fn set_current_file(&mut self, file: GodotString)
pub fn set_current_path(&mut self, path: GodotString)
[src]
pub fn set_current_path(&mut self, path: GodotString)
pub fn set_mode_overrides_title(&mut self, _override: bool)
[src]
pub fn set_mode_overrides_title(&mut self, _override: bool)
pub fn is_mode_overriding_title(&self) -> bool
[src]
pub fn is_mode_overriding_title(&self) -> bool
pub fn set_mode(&mut self, mode: i64)
[src]
pub fn set_mode(&mut self, mode: i64)
pub fn get_vbox(&mut self) -> Option<VBoxContainer>
[src]
pub fn get_vbox(&mut self) -> Option<VBoxContainer>
pub fn set_access(&mut self, access: i64)
[src]
pub fn set_access(&mut self, access: i64)
pub fn _select_drive(&mut self, arg0: i64)
[src]
pub fn _select_drive(&mut self, arg0: i64)
pub fn _make_dir(&mut self)
[src]
pub fn _make_dir(&mut self)
pub fn _make_dir_confirm(&mut self)
[src]
pub fn _make_dir_confirm(&mut self)
pub fn _update_file_list(&mut self)
[src]
pub fn _update_file_list(&mut self)
pub fn _update_dir(&mut self)
[src]
pub fn _update_dir(&mut self)
pub fn _go_up(&mut self)
[src]
pub fn _go_up(&mut self)
pub fn deselect_items(&mut self)
[src]
pub fn deselect_items(&mut self)
pub fn invalidate(&mut self)
[src]
pub fn invalidate(&mut self)
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Methods from Deref<Target = ConfirmationDialog>
pub fn as_accept_dialog(&self) -> AcceptDialog
[src]
pub fn as_accept_dialog(&self) -> AcceptDialog
Up-cast.
pub fn get_cancel(&mut self) -> Option<Button>
[src]
pub fn get_cancel(&mut self) -> Option<Button>
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
Trait Implementations
impl GodotObject for FileDialog
[src]
impl GodotObject for FileDialog
fn class_name() -> &'static str
[src]
fn class_name() -> &'static str
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
unsafe fn to_sys(&self) -> *mut godot_object
[src]
unsafe fn to_sys(&self) -> *mut godot_object
impl Deref for FileDialog
[src]
impl Deref for FileDialog
type Target = ConfirmationDialog
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl DerefMut for FileDialog
[src]
impl DerefMut for FileDialog
Auto Trait Implementations
impl !Send for FileDialog
impl !Send for FileDialog
impl !Sync for FileDialog
impl !Sync for FileDialog