[][src]Trait gtk::PlacesSidebarExt

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 list_shortcuts(&self) -> Vec<File>;
fn remove_shortcut<P: IsA<File>>(&self, location: &P);
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 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_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_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_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)

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 list_shortcuts(&self) -> Vec<File>

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

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 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_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_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_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

Loading content...

Implementors

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

Loading content...