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]
pub fn as_confirmation_dialog(&self) -> ConfirmationDialog
[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 FileDialog::free
.
pub unsafe fn free(self)
[src]
Manually deallocate the object.
pub fn _unhandled_input(&mut self, arg0: Option<InputEvent>)
[src]
pub fn _tree_selected(&mut self)
[src]
pub fn _tree_db_selected(&mut self)
[src]
pub fn _dir_entered(&mut self, arg0: GodotString)
[src]
pub fn _file_entered(&mut self, arg0: GodotString)
[src]
pub fn _action_pressed(&mut self)
[src]
pub fn _cancel_pressed(&mut self)
[src]
pub fn _filter_selected(&mut self, arg0: i64)
[src]
pub fn _save_confirm_pressed(&mut self)
[src]
pub fn clear_filters(&mut self)
[src]
pub fn add_filter(&mut self, filter: GodotString)
[src]
pub fn set_filters(&mut self, filters: StringArray)
[src]
pub fn get_filters(&self) -> StringArray
[src]
pub fn get_current_dir(&self) -> GodotString
[src]
pub fn get_current_file(&self) -> GodotString
[src]
pub fn get_current_path(&self) -> GodotString
[src]
pub fn set_current_dir(&mut self, dir: GodotString)
[src]
pub fn set_current_file(&mut self, file: GodotString)
[src]
pub fn set_current_path(&mut self, path: GodotString)
[src]
pub fn set_mode_overrides_title(&mut self, _override: bool)
[src]
pub fn is_mode_overriding_title(&self) -> bool
[src]
pub fn set_mode(&mut self, mode: i64)
[src]
pub fn get_vbox(&mut self) -> Option<VBoxContainer>
[src]
pub fn set_access(&mut self, access: i64)
[src]
[src]
[src]
pub fn _select_drive(&mut self, arg0: i64)
[src]
pub fn _make_dir(&mut self)
[src]
pub fn _make_dir_confirm(&mut self)
[src]
pub fn _update_file_list(&mut self)
[src]
pub fn _update_dir(&mut self)
[src]
pub fn _go_up(&mut self)
[src]
pub fn deselect_items(&mut self)
[src]
pub fn invalidate(&mut self)
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Methods from Deref<Target = ConfirmationDialog>
pub fn as_accept_dialog(&self) -> AcceptDialog
[src]
Up-cast.
pub fn get_cancel(&mut self) -> Option<Button>
[src]
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Trait Implementations
impl GodotObject for FileDialog
[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 FileDialog
[src]
type Target = ConfirmationDialog
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.