Struct gdnative::EditorFileDialog
[−]
[src]
pub struct EditorFileDialog { /* fields omitted */ }
tools class EditorFileDialog : ConfirmationDialog
(manually managed)
Base class
EditorFileDialog 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 EditorFileDialog::free
.
Tool
This class is used to interact with godot's editor.
Methods
impl EditorFileDialog
[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 EditorFileDialog::free
.
pub unsafe fn free(self)
[src]
Manually deallocate the object.
pub fn _unhandled_input(&mut self, arg0: Option<InputEvent>)
[src]
pub fn _item_selected(&mut self, arg0: i64)
[src]
pub fn _items_clear_selection(&mut self)
[src]
pub fn _item_list_item_rmb_selected(&mut self, arg0: i64, arg1: Vector2)
[src]
pub fn _item_list_rmb_clicked(&mut self, arg0: Vector2)
[src]
[src]
pub fn _item_db_selected(&mut self, arg0: i64)
[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 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(&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 _thumbnail_done(
&mut self,
arg0: GodotString,
arg1: Option<Texture>,
arg2: Variant
)
[src]
&mut self,
arg0: GodotString,
arg1: Option<Texture>,
arg2: Variant
)
pub fn set_display_mode(&mut self, mode: i64)
[src]
pub fn _thumbnail_result(
&mut self,
arg0: GodotString,
arg1: Option<Texture>,
arg2: Variant
)
[src]
&mut self,
arg0: GodotString,
arg1: Option<Texture>,
arg2: Variant
)
pub fn set_disable_overwrite_warning(&mut self, disable: bool)
[src]
pub fn is_overwrite_warning_disabled(&self) -> bool
[src]
pub fn _recent_selected(&mut self, arg0: i64)
[src]
pub fn _go_back(&mut self)
[src]
pub fn _go_forward(&mut self)
[src]
pub fn _go_up(&mut self)
[src]
pub fn _favorite_toggled(&mut self, arg0: bool)
[src]
pub fn _favorite_selected(&mut self, arg0: i64)
[src]
pub fn _favorite_move_up(&mut self)
[src]
pub fn _favorite_move_down(&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 EditorFileDialog
[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 EditorFileDialog
[src]
type Target = ConfirmationDialog
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.