Trait gtk::PlacesSidebarExt [−][src]
pub trait PlacesSidebarExt { fn add_shortcut<P: IsA<File>>(&self, location: &P); 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 list_shortcuts(&self) -> Vec<File>; fn remove_shortcut<P: IsA<File>>(&self, location: &P); 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 get_property_local_only(&self) -> bool; fn set_property_local_only(&self, local_only: bool); fn get_property_location(&self) -> Option<File>; fn set_property_location<P: IsA<File> + IsA<Object> + SetValueOptional>(
&self,
location: Option<&P>
); fn get_property_open_flags(&self) -> PlacesOpenFlags; fn set_property_open_flags(&self, open_flags: PlacesOpenFlags); fn set_property_show_connect_to_server(&self, show_connect_to_server: bool); fn get_property_show_desktop(&self) -> bool; fn set_property_show_desktop(&self, show_desktop: bool); fn get_property_show_enter_location(&self) -> bool; fn set_property_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_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_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 list_shortcuts(&self) -> Vec<File>
fn remove_shortcut<P: IsA<File>>(&self, location: &P)
fn set_location<'a, P: IsA<File> + 'a, Q: Into<Option<&'a P>>>(
&self,
location: Q
)
&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 get_property_local_only(&self) -> bool
fn set_property_local_only(&self, local_only: bool)
fn get_property_location(&self) -> Option<File>
fn set_property_location<P: IsA<File> + IsA<Object> + SetValueOptional>(
&self,
location: Option<&P>
)
&self,
location: Option<&P>
)
fn get_property_open_flags(&self) -> PlacesOpenFlags
fn set_property_open_flags(&self, open_flags: PlacesOpenFlags)
fn set_property_show_connect_to_server(&self, show_connect_to_server: bool)
fn get_property_show_desktop(&self) -> bool
fn set_property_show_desktop(&self, show_desktop: bool)
fn get_property_show_enter_location(&self) -> bool
fn set_property_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
&self,
f: F
) -> SignalHandlerId
fn connect_open_location<F: Fn(&Self, &File, PlacesOpenFlags) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_show_connect_to_server<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_show_error_message<F: Fn(&Self, &str, &str) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_local_only_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_location_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_open_flags_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_connect_to_server_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_desktop_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_enter_location_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_other_locations_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_recent_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_show_trash_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<PlacesSidebar> + IsA<Object>> PlacesSidebarExt for O