Trait gtk::prelude::PlacesSidebarExt[][src]

pub trait PlacesSidebarExt: 'static {
    fn add_shortcut<P: IsA<File>>(&self, location: &P);
fn get_local_only(&self) -> bool;
fn get_location(&self) -> Option<File>;
fn get_nth_bookmark(&self, n: i32) -> Option<File>;
fn get_open_flags(&self) -> PlacesOpenFlags;
fn get_show_connect_to_server(&self) -> bool;
fn get_show_desktop(&self) -> bool;
fn get_show_enter_location(&self) -> bool;
fn get_show_other_locations(&self) -> bool;
fn get_show_recent(&self) -> bool;
fn get_show_trash(&self) -> bool;
fn list_shortcuts(&self) -> Vec<File>;
fn remove_shortcut<P: IsA<File>>(&self, location: &P);
fn set_drop_targets_visible(&self, visible: bool, context: &DragContext);
fn set_local_only(&self, local_only: bool);
fn set_location<'a, P: IsA<File> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        location: Q
    );
fn set_open_flags(&self, flags: PlacesOpenFlags);
fn set_show_connect_to_server(&self, show_connect_to_server: bool);
fn set_show_desktop(&self, show_desktop: bool);
fn set_show_enter_location(&self, show_enter_location: bool);
fn set_show_other_locations(&self, show_other_locations: bool);
fn set_show_recent(&self, show_recent: bool);
fn set_show_trash(&self, show_trash: bool);
fn get_property_populate_all(&self) -> bool;
fn set_property_populate_all(&self, populate_all: bool);
fn get_property_show_other_locations(&self) -> bool;
fn set_property_show_other_locations(&self, show_other_locations: bool);
fn get_property_show_recent(&self) -> bool;
fn set_property_show_recent(&self, show_recent: bool);
fn get_property_show_trash(&self) -> bool;
fn set_property_show_trash(&self, show_trash: bool);
fn connect_drag_action_ask<F: Fn(&Self, i32) -> i32 + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_mount<F: Fn(&Self, &MountOperation) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_open_location<F: Fn(&Self, &File, PlacesOpenFlags) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_show_connect_to_server<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_show_enter_location<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_show_error_message<F: Fn(&Self, &str, &str) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_show_other_locations<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_show_other_locations_with_flags<F: Fn(&Self, PlacesOpenFlags) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_unmount<F: Fn(&Self, &MountOperation) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_location_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_open_flags_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_populate_all_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_connect_to_server_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_desktop_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_enter_location_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_other_locations_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_recent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_trash_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add_shortcut<P: IsA<File>>(&self, location: &P)[src]

fn get_local_only(&self) -> bool[src]

fn get_location(&self) -> Option<File>[src]

fn get_nth_bookmark(&self, n: i32) -> Option<File>[src]

fn get_open_flags(&self) -> PlacesOpenFlags[src]

fn get_show_connect_to_server(&self) -> bool[src]

👎 Deprecated

fn get_show_desktop(&self) -> bool[src]

fn get_show_enter_location(&self) -> bool[src]

fn get_show_other_locations(&self) -> bool[src]

fn get_show_recent(&self) -> bool[src]

fn get_show_trash(&self) -> bool[src]

fn list_shortcuts(&self) -> Vec<File>[src]

fn remove_shortcut<P: IsA<File>>(&self, location: &P)[src]

fn set_drop_targets_visible(&self, visible: bool, context: &DragContext)[src]

fn set_local_only(&self, local_only: bool)[src]

fn set_location<'a, P: IsA<File> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    location: Q
)
[src]

fn set_open_flags(&self, flags: PlacesOpenFlags)[src]

fn set_show_connect_to_server(&self, show_connect_to_server: bool)[src]

👎 Deprecated

fn set_show_desktop(&self, show_desktop: bool)[src]

fn set_show_enter_location(&self, show_enter_location: bool)[src]

fn set_show_other_locations(&self, show_other_locations: bool)[src]

fn set_show_recent(&self, show_recent: bool)[src]

fn set_show_trash(&self, show_trash: bool)[src]

fn get_property_populate_all(&self) -> bool[src]

fn set_property_populate_all(&self, populate_all: bool)[src]

fn get_property_show_other_locations(&self) -> bool[src]

fn set_property_show_other_locations(&self, show_other_locations: bool)[src]

fn get_property_show_recent(&self) -> bool[src]

fn set_property_show_recent(&self, show_recent: bool)[src]

fn get_property_show_trash(&self) -> bool[src]

fn set_property_show_trash(&self, show_trash: bool)[src]

fn connect_drag_action_ask<F: Fn(&Self, i32) -> i32 + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_mount<F: Fn(&Self, &MountOperation) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_open_location<F: Fn(&Self, &File, PlacesOpenFlags) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_show_connect_to_server<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

👎 Deprecated

fn connect_show_enter_location<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_show_error_message<F: Fn(&Self, &str, &str) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_show_other_locations<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

👎 Deprecated

fn connect_show_other_locations_with_flags<F: Fn(&Self, PlacesOpenFlags) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_unmount<F: Fn(&Self, &MountOperation) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_location_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_open_flags_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_populate_all_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_connect_to_server_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_desktop_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_enter_location_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_other_locations_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_recent_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

fn connect_property_show_trash_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<PlacesSidebar>> PlacesSidebarExt for O[src]

Loading content...