Struct PlacesSidebar

Source
pub struct PlacesSidebar(/* private fields */);

Implementations§

Source§

impl PlacesSidebar

Source

pub fn new() -> PlacesSidebar

Source

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

Source

pub fn get_local_only(&self) -> bool

Source

pub fn get_location(&self) -> Option<File>

Source

pub fn get_nth_bookmark(&self, n: i32) -> Option<File>

Source

pub fn get_open_flags(&self) -> PlacesOpenFlags

Source

pub fn get_show_connect_to_server(&self) -> bool

👎Deprecated
Source

pub fn get_show_desktop(&self) -> bool

Source

pub fn get_show_enter_location(&self) -> bool

Source

pub fn get_show_other_locations(&self) -> bool

Source

pub fn get_show_recent(&self) -> bool

Source

pub fn get_show_trash(&self) -> bool

Source

pub fn list_shortcuts(&self) -> Vec<File>

Source

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

Source

pub fn set_drop_targets_visible(&self, visible: bool, context: &DragContext)

Source

pub fn set_local_only(&self, local_only: bool)

Source

pub fn set_location<P: IsA<File>>(&self, location: Option<&P>)

Source

pub fn set_open_flags(&self, flags: PlacesOpenFlags)

Source

pub fn set_show_connect_to_server(&self, show_connect_to_server: bool)

👎Deprecated
Source

pub fn set_show_desktop(&self, show_desktop: bool)

Source

pub fn set_show_enter_location(&self, show_enter_location: bool)

Source

pub fn set_show_other_locations(&self, show_other_locations: bool)

Source

pub fn set_show_recent(&self, show_recent: bool)

Source

pub fn set_show_trash(&self, show_trash: bool)

Source

pub fn get_property_populate_all(&self) -> bool

Source

pub fn set_property_populate_all(&self, populate_all: bool)

Source

pub fn get_property_show_other_locations(&self) -> bool

Source

pub fn set_property_show_other_locations(&self, show_other_locations: bool)

Source

pub fn get_property_show_recent(&self) -> bool

Source

pub fn set_property_show_recent(&self, show_recent: bool)

Source

pub fn get_property_show_trash(&self) -> bool

Source

pub fn set_property_show_trash(&self, show_trash: bool)

Source

pub fn connect_drag_action_ask<F: Fn(&PlacesSidebar, i32) -> i32 + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_mount<F: Fn(&PlacesSidebar, &MountOperation) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_open_location<F: Fn(&PlacesSidebar, &File, PlacesOpenFlags) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_show_connect_to_server<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

👎Deprecated
Source

pub fn connect_show_enter_location<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_show_error_message<F: Fn(&PlacesSidebar, &str, &str) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_show_other_locations<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

👎Deprecated
Source

pub fn connect_show_other_locations_with_flags<F: Fn(&PlacesSidebar, PlacesOpenFlags) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_unmount<F: Fn(&PlacesSidebar, &MountOperation) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_local_only_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_location_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_open_flags_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_populate_all_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_show_connect_to_server_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_show_desktop_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_show_enter_location_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_show_other_locations_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_show_recent_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

pub fn connect_property_show_trash_notify<F: Fn(&PlacesSidebar) + 'static>( &self, f: F, ) -> SignalHandlerId

Trait Implementations§

Source§

impl Clone for PlacesSidebar

Source§

fn clone(&self) -> PlacesSidebar

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PlacesSidebar

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PlacesSidebar

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for PlacesSidebar

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for PlacesSidebar

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for PlacesSidebar

Source§

fn cmp(&self, other: &PlacesSidebar) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<T: ObjectType> PartialEq<T> for PlacesSidebar

Source§

fn eq(&self, other: &T) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: ObjectType> PartialOrd<T> for PlacesSidebar

Source§

fn partial_cmp(&self, other: &T) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StaticType for PlacesSidebar

Source§

fn static_type() -> Type

Returns the type identifier of Self.
Source§

impl Eq for PlacesSidebar

Source§

impl IsA<Bin> for PlacesSidebar

Source§

impl IsA<Buildable> for PlacesSidebar

Source§

impl IsA<Container> for PlacesSidebar

Source§

impl IsA<ScrolledWindow> for PlacesSidebar

Source§

impl IsA<Widget> for PlacesSidebar

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<O> BinExt for O
where O: IsA<Bin>,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<O> BuildableExt for O
where O: IsA<Buildable>,

Source§

fn add_child<P, Q>(&self, builder: &P, child: &Q, type_: Option<&str>)
where P: IsA<Builder>, Q: IsA<Object>,

Source§

fn construct_child<P>(&self, builder: &P, name: &str) -> Option<Object>
where P: IsA<Builder>,

Source§

fn get_internal_child<P>(&self, builder: &P, childname: &str) -> Option<Object>
where P: IsA<Builder>,

Source§

fn parser_finished<P>(&self, builder: &P)
where P: IsA<Builder>,

Source§

fn set_buildable_property<P>(&self, builder: &P, name: &str, value: &Value)
where P: IsA<Builder>,

Source§

impl<O> BuildableExtManual for O
where O: IsA<Buildable>,

Source§

fn get_name(&self) -> Option<String>

Source§

fn set_name(&self, name: &str)

Source§

impl<T> Cast for T
where T: ObjectType,

Source§

fn upcast<T>(self) -> T
where T: ObjectType, Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
Source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
Source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, Self: CanDowncast<T>,

Tries to downcast to a subclass or interface implementor T. Read more
Source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, Self: CanDowncast<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
Source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while downcast and upcast will do many checks at compile-time already. Read more
Source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while downcast and upcast will do many checks at compile-time already. Read more
Source§

unsafe fn unsafe_cast<T>(self) -> T
where T: ObjectType,

Casts to T unconditionally. Read more
Source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<O> ContainerExt for O
where O: IsA<Container>,

Source§

fn add<P>(&self, widget: &P)
where P: IsA<Widget>,

Source§

fn check_resize(&self)

Source§

fn child_notify<P>(&self, child: &P, child_property: &str)
where P: IsA<Widget>,

Source§

fn child_type(&self) -> Type

Source§

fn forall<P>(&self, callback: P)
where P: FnMut(&Widget),

Source§

fn foreach<P>(&self, callback: P)
where P: FnMut(&Widget),

Source§

fn get_border_width(&self) -> u32

Source§

fn get_children(&self) -> Vec<Widget>

Source§

fn get_focus_child(&self) -> Option<Widget>

Source§

fn get_focus_hadjustment(&self) -> Option<Adjustment>

Source§

fn get_focus_vadjustment(&self) -> Option<Adjustment>

Source§

fn get_path_for_child<P>(&self, child: &P) -> Option<WidgetPath>
where P: IsA<Widget>,

Source§

fn propagate_draw<P>(&self, child: &P, cr: &Context)
where P: IsA<Widget>,

Source§

fn remove<P>(&self, widget: &P)
where P: IsA<Widget>,

Source§

fn set_border_width(&self, border_width: u32)

Source§

fn set_focus_chain(&self, focusable_widgets: &[Widget])

Source§

fn set_focus_child<P>(&self, child: Option<&P>)
where P: IsA<Widget>,

Source§

fn set_focus_hadjustment<P>(&self, adjustment: &P)
where P: IsA<Adjustment>,

Source§

fn set_focus_vadjustment<P>(&self, adjustment: &P)
where P: IsA<Adjustment>,

Source§

fn unset_focus_chain(&self)

Source§

fn set_property_child(&self, child: Option<&Widget>)

Source§

fn get_property_resize_mode(&self) -> ResizeMode

Source§

fn set_property_resize_mode(&self, resize_mode: ResizeMode)

Source§

fn connect_add<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Widget) + 'static,

Source§

fn connect_check_resize<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_remove<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Widget) + 'static,

Source§

fn connect_set_focus_child<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Widget) + 'static,

Source§

fn connect_property_border_width_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_child_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_resize_mode_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for T

Source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for T

Source§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

Source§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for T

Source§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for T

Source§

impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for T

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ObjectExt for T
where T: ObjectType,

Source§

fn is<U>(&self) -> bool
where U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
Source§

fn get_type(&self) -> Type

Source§

fn get_object_class(&self) -> &ObjectClass

Source§

fn set_property<'a, N>( &self, property_name: N, value: &dyn ToValue, ) -> Result<(), BoolError>
where N: Into<&'a str>,

Source§

fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError>
where N: Into<&'a str>,

Source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Source§

fn stop_signal_emission(&self, signal_name: &str)

Source§

fn disconnect(&self, handler_id: SignalHandlerId)

Source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where F: Fn(&T, &ParamSpec),

Source§

fn notify<'a, N>(&self, property_name: N)
where N: Into<&'a str>,

Source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Source§

fn has_property<'a, N>( &self, property_name: N, type_: Option<Type>, ) -> Result<(), BoolError>
where N: Into<&'a str>,

Source§

fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type>
where N: Into<&'a str>,

Source§

fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec>
where N: Into<&'a str>,

Source§

fn list_properties(&self) -> Vec<ParamSpec>

Source§

fn connect<'a, N, F>( &self, signal_name: N, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
where N: Into<&'a str>, F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Source§

unsafe fn connect_unsafe<'a, N, F>( &self, signal_name: N, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
where N: Into<&'a str>, F: Fn(&[Value]) -> Option<Value>,

Source§

fn emit<'a, N>( &self, signal_name: N, args: &[&dyn ToValue], ) -> Result<Option<Value>, BoolError>
where N: Into<&'a str>,

Source§

fn downgrade(&self) -> WeakRef<T>

Source§

fn bind_property<'a, O, N, M>( &'a self, source_property: N, target: &'a O, target_property: M, ) -> BindingBuilder<'a>
where O: ObjectType, N: Into<&'a str>, M: Into<&'a str>,

Source§

fn ref_count(&self) -> u32

Source§

impl<O> ScrolledWindowExt for O
where O: IsA<ScrolledWindow>,

Source§

fn get_capture_button_press(&self) -> bool

Source§

fn get_hadjustment(&self) -> Option<Adjustment>

Source§

fn get_hscrollbar(&self) -> Option<Widget>

Source§

fn get_kinetic_scrolling(&self) -> bool

Source§

fn get_max_content_height(&self) -> i32

Source§

fn get_max_content_width(&self) -> i32

Source§

fn get_min_content_height(&self) -> i32

Source§

fn get_min_content_width(&self) -> i32

Source§

fn get_overlay_scrolling(&self) -> bool

Source§

fn get_placement(&self) -> CornerType

Source§

fn get_policy(&self) -> (PolicyType, PolicyType)

Source§

fn get_propagate_natural_height(&self) -> bool

Source§

fn get_propagate_natural_width(&self) -> bool

Source§

fn get_shadow_type(&self) -> ShadowType

Source§

fn get_vadjustment(&self) -> Option<Adjustment>

Source§

fn get_vscrollbar(&self) -> Option<Widget>

Source§

fn set_capture_button_press(&self, capture_button_press: bool)

Source§

fn set_hadjustment<P>(&self, hadjustment: &P)
where P: IsA<Adjustment>,

Source§

fn set_kinetic_scrolling(&self, kinetic_scrolling: bool)

Source§

fn set_max_content_height(&self, height: i32)

Source§

fn set_max_content_width(&self, width: i32)

Source§

fn set_min_content_height(&self, height: i32)

Source§

fn set_min_content_width(&self, width: i32)

Source§

fn set_overlay_scrolling(&self, overlay_scrolling: bool)

Source§

fn set_placement(&self, window_placement: CornerType)

Source§

fn set_policy( &self, hscrollbar_policy: PolicyType, vscrollbar_policy: PolicyType, )

Source§

fn set_propagate_natural_height(&self, propagate: bool)

Source§

fn set_propagate_natural_width(&self, propagate: bool)

Source§

fn set_shadow_type(&self, type_: ShadowType)

Source§

fn set_vadjustment<P>(&self, vadjustment: &P)
where P: IsA<Adjustment>,

Source§

fn unset_placement(&self)

Source§

fn get_property_hscrollbar_policy(&self) -> PolicyType

Source§

fn set_property_hscrollbar_policy(&self, hscrollbar_policy: PolicyType)

Source§

fn get_property_vscrollbar_policy(&self) -> PolicyType

Source§

fn set_property_vscrollbar_policy(&self, vscrollbar_policy: PolicyType)

Source§

fn get_property_window_placement(&self) -> CornerType

Source§

fn set_property_window_placement(&self, window_placement: CornerType)

Source§

fn connect_edge_overshot<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, PositionType) + 'static,

Source§

fn connect_edge_reached<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, PositionType) + 'static,

Source§

fn connect_move_focus_out<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, DirectionType) + 'static,

Source§

fn emit_move_focus_out(&self, direction_type: DirectionType)

Source§

fn connect_scroll_child<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, ScrollType, bool) -> bool + 'static,

Source§

fn emit_scroll_child(&self, scroll: ScrollType, horizontal: bool) -> bool

Source§

fn connect_property_hadjustment_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_hscrollbar_policy_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_kinetic_scrolling_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_max_content_height_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_max_content_width_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_min_content_height_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_min_content_width_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_overlay_scrolling_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_propagate_natural_height_notify<F>( &self, f: F, ) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_propagate_natural_width_notify<F>( &self, f: F, ) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_shadow_type_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_vadjustment_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_vscrollbar_policy_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_window_placement_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToValue for T
where T: SetValue + ?Sized,

Source§

fn to_value(&self) -> Value

Returns a Value clone of self.
Source§

fn to_value_type(&self) -> Type

Returns the type identifer of self. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<O> WidgetExt for O
where O: IsA<Widget>,

Source§

fn activate(&self) -> bool

Source§

fn add_accelerator<P>( &self, accel_signal: &str, accel_group: &P, accel_key: u32, accel_mods: ModifierType, accel_flags: AccelFlags, )
where P: IsA<AccelGroup>,

Source§

fn add_device_events(&self, device: &Device, events: EventMask)

Source§

fn add_mnemonic_label<P>(&self, label: &P)
where P: IsA<Widget>,

Source§

fn can_activate_accel(&self, signal_id: u32) -> bool

Source§

fn child_focus(&self, direction: DirectionType) -> bool

Source§

fn child_notify(&self, child_property: &str)

Source§

fn compute_expand(&self, orientation: Orientation) -> bool

Source§

fn create_pango_context(&self) -> Option<Context>

Source§

fn create_pango_layout(&self, text: Option<&str>) -> Option<Layout>

Source§

fn destroy(&self)

Source§

fn device_is_shadowed(&self, device: &Device) -> bool

Source§

fn drag_begin_with_coordinates( &self, targets: &TargetList, actions: DragAction, button: i32, event: Option<&Event>, x: i32, y: i32, ) -> Option<DragContext>

Source§

fn drag_check_threshold( &self, start_x: i32, start_y: i32, current_x: i32, current_y: i32, ) -> bool

Source§

fn drag_dest_add_image_targets(&self)

Source§

fn drag_dest_add_text_targets(&self)

Source§

fn drag_dest_add_uri_targets(&self)

Source§

fn drag_dest_find_target( &self, context: &DragContext, target_list: Option<&TargetList>, ) -> Option<Atom>

Source§

fn drag_dest_get_target_list(&self) -> Option<TargetList>

Source§

fn drag_dest_get_track_motion(&self) -> bool

Source§

fn drag_dest_set_proxy<P>( &self, proxy_window: &P, protocol: DragProtocol, use_coordinates: bool, )
where P: IsA<Window>,

👎Deprecated
Source§

fn drag_dest_set_target_list(&self, target_list: Option<&TargetList>)

Source§

fn drag_dest_set_track_motion(&self, track_motion: bool)

Source§

fn drag_dest_unset(&self)

Source§

fn drag_get_data(&self, context: &DragContext, target: &Atom, time_: u32)

Source§

fn drag_highlight(&self)

Source§

fn drag_source_add_image_targets(&self)

Source§

fn drag_source_add_text_targets(&self)

Source§

fn drag_source_add_uri_targets(&self)

Source§

fn drag_source_get_target_list(&self) -> Option<TargetList>

Source§

fn drag_source_set_icon_gicon<P>(&self, icon: &P)
where P: IsA<Icon>,

Source§

fn drag_source_set_icon_name(&self, icon_name: &str)

Source§

fn drag_source_set_icon_pixbuf(&self, pixbuf: &Pixbuf)

Source§

fn drag_source_set_target_list(&self, target_list: Option<&TargetList>)

Source§

fn drag_source_unset(&self)

Source§

fn drag_unhighlight(&self)

Source§

fn draw(&self, cr: &Context)

Source§

fn error_bell(&self)

Source§

fn event(&self, event: &Event) -> bool

Source§

fn freeze_child_notify(&self)

Source§

fn get_accessible(&self) -> Option<Object>

Source§

fn get_action_group(&self, prefix: &str) -> Option<ActionGroup>

Source§

fn get_allocated_baseline(&self) -> i32

Source§

fn get_allocated_height(&self) -> i32

Source§

fn get_allocated_size(&self) -> (Rectangle, i32)

Source§

fn get_allocated_width(&self) -> i32

Source§

fn get_allocation(&self) -> Rectangle

Source§

fn get_ancestor(&self, widget_type: Type) -> Option<Widget>

Source§

fn get_app_paintable(&self) -> bool

Source§

fn get_can_default(&self) -> bool

Source§

fn get_can_focus(&self) -> bool

Source§

fn get_child_visible(&self) -> bool

Source§

fn get_clip(&self) -> Rectangle

Source§

fn get_clipboard(&self, selection: &Atom) -> Clipboard

Source§

fn get_device_enabled(&self, device: &Device) -> bool

Source§

fn get_device_events(&self, device: &Device) -> EventMask

Source§

fn get_direction(&self) -> TextDirection

Source§

fn get_display(&self) -> Option<Display>

Source§

fn get_double_buffered(&self) -> bool

Source§

fn get_focus_on_click(&self) -> bool

Source§

fn get_font_map(&self) -> Option<FontMap>

Source§

fn get_font_options(&self) -> Option<FontOptions>

Source§

fn get_frame_clock(&self) -> Option<FrameClock>

Source§

fn get_halign(&self) -> Align

Source§

fn get_has_tooltip(&self) -> bool

Source§

fn get_has_window(&self) -> bool

Source§

fn get_hexpand(&self) -> bool

Source§

fn get_hexpand_set(&self) -> bool

Source§

fn get_mapped(&self) -> bool

Source§

fn get_margin_bottom(&self) -> i32

Source§

fn get_margin_end(&self) -> i32

Source§

fn get_margin_start(&self) -> i32

Source§

fn get_margin_top(&self) -> i32

Source§

fn get_modifier_mask(&self, intent: ModifierIntent) -> ModifierType

Source§

fn get_name(&self) -> Option<GString>

Source§

fn get_no_show_all(&self) -> bool

Source§

fn get_opacity(&self) -> f64

Source§

fn get_pango_context(&self) -> Option<Context>

Source§

fn get_parent(&self) -> Option<Widget>

Source§

fn get_parent_window(&self) -> Option<Window>

Source§

fn get_path(&self) -> WidgetPath

Source§

fn get_preferred_height(&self) -> (i32, i32)

Source§

fn get_preferred_height_and_baseline_for_width( &self, width: i32, ) -> (i32, i32, i32, i32)

Source§

fn get_preferred_height_for_width(&self, width: i32) -> (i32, i32)

Source§

fn get_preferred_size(&self) -> (Requisition, Requisition)

Source§

fn get_preferred_width(&self) -> (i32, i32)

Source§

fn get_preferred_width_for_height(&self, height: i32) -> (i32, i32)

Source§

fn get_realized(&self) -> bool

Source§

fn get_receives_default(&self) -> bool

Source§

fn get_request_mode(&self) -> SizeRequestMode

Source§

fn get_scale_factor(&self) -> i32

Source§

fn get_screen(&self) -> Option<Screen>

Source§

fn get_sensitive(&self) -> bool

Source§

fn get_settings(&self) -> Option<Settings>

Source§

fn get_size_request(&self) -> (i32, i32)

Source§

fn get_state_flags(&self) -> StateFlags

Source§

fn get_style_context(&self) -> StyleContext

Source§

fn get_support_multidevice(&self) -> bool

Source§

fn get_template_child(&self, widget_type: Type, name: &str) -> Option<Object>

Source§

fn get_tooltip_markup(&self) -> Option<GString>

Source§

fn get_tooltip_text(&self) -> Option<GString>

Source§

fn get_tooltip_window(&self) -> Option<Window>

Source§

fn get_toplevel(&self) -> Option<Widget>

Source§

fn get_valign(&self) -> Align

Source§

fn get_valign_with_baseline(&self) -> Align

Source§

fn get_vexpand(&self) -> bool

Source§

fn get_vexpand_set(&self) -> bool

Source§

fn get_visible(&self) -> bool

Source§

fn get_visual(&self) -> Option<Visual>

Source§

fn get_window(&self) -> Option<Window>

Source§

fn grab_add(&self)

Source§

fn grab_default(&self)

Source§

fn grab_focus(&self)

Source§

fn grab_remove(&self)

Source§

fn has_default(&self) -> bool

Source§

fn has_focus(&self) -> bool

Source§

fn has_grab(&self) -> bool

Source§

fn has_screen(&self) -> bool

Source§

fn has_visible_focus(&self) -> bool

Source§

fn hide(&self)

Source§

fn hide_on_delete(&self) -> bool

Source§

fn in_destruction(&self) -> bool

Source§

fn init_template(&self)

Source§

fn input_shape_combine_region(&self, region: Option<&Region>)

Source§

fn insert_action_group<P>(&self, name: &str, group: Option<&P>)
where P: IsA<ActionGroup>,

Source§

fn is_ancestor<P>(&self, ancestor: &P) -> bool
where P: IsA<Widget>,

Source§

fn is_composited(&self) -> bool

👎Deprecated
Source§

fn is_drawable(&self) -> bool

Source§

fn is_focus(&self) -> bool

Source§

fn is_sensitive(&self) -> bool

Source§

fn is_toplevel(&self) -> bool

Source§

fn is_visible(&self) -> bool

Source§

fn keynav_failed(&self, direction: DirectionType) -> bool

Source§

fn list_accel_closures(&self) -> Vec<Closure>

Source§

fn list_action_prefixes(&self) -> Vec<GString>

Source§

fn list_mnemonic_labels(&self) -> Vec<Widget>

Source§

fn map(&self)

Source§

fn mnemonic_activate(&self, group_cycling: bool) -> bool

Source§

fn override_background_color(&self, state: StateFlags, color: Option<&RGBA>)

👎Deprecated
Source§

fn override_color(&self, state: StateFlags, color: Option<&RGBA>)

👎Deprecated
Source§

fn override_cursor( &self, cursor: Option<&RGBA>, secondary_cursor: Option<&RGBA>, )

👎Deprecated
Source§

fn override_font(&self, font_desc: Option<&FontDescription>)

👎Deprecated
Source§

fn override_symbolic_color(&self, name: &str, color: Option<&RGBA>)

👎Deprecated
Source§

fn queue_allocate(&self)

Source§

fn queue_compute_expand(&self)

Source§

fn queue_draw(&self)

Source§

fn queue_draw_area(&self, x: i32, y: i32, width: i32, height: i32)

Source§

fn queue_draw_region(&self, region: &Region)

Source§

fn queue_resize(&self)

Source§

fn queue_resize_no_redraw(&self)

Source§

fn realize(&self)

Source§

fn register_window<P>(&self, window: &P)
where P: IsA<Window>,

Source§

fn remove_accelerator<P>( &self, accel_group: &P, accel_key: u32, accel_mods: ModifierType, ) -> bool
where P: IsA<AccelGroup>,

Source§

fn remove_mnemonic_label<P>(&self, label: &P)
where P: IsA<Widget>,

Source§

fn reset_style(&self)

Source§

fn send_expose(&self, event: &Event) -> i32

👎Deprecated
Source§

fn send_focus_change(&self, event: &Event) -> bool

Source§

fn set_accel_path<P>(&self, accel_path: Option<&str>, accel_group: Option<&P>)
where P: IsA<AccelGroup>,

Source§

fn set_allocation(&self, allocation: &Rectangle)

Source§

fn set_app_paintable(&self, app_paintable: bool)

Source§

fn set_can_default(&self, can_default: bool)

Source§

fn set_can_focus(&self, can_focus: bool)

Source§

fn set_child_visible(&self, is_visible: bool)

Source§

fn set_clip(&self, clip: &Rectangle)

Source§

fn set_device_enabled(&self, device: &Device, enabled: bool)

Source§

fn set_device_events(&self, device: &Device, events: EventMask)

Source§

fn set_direction(&self, dir: TextDirection)

Source§

fn set_focus_on_click(&self, focus_on_click: bool)

Source§

fn set_font_map<P>(&self, font_map: Option<&P>)
where P: IsA<FontMap>,

Source§

fn set_font_options(&self, options: Option<&FontOptions>)

Source§

fn set_halign(&self, align: Align)

Source§

fn set_has_tooltip(&self, has_tooltip: bool)

Source§

fn set_has_window(&self, has_window: bool)

Source§

fn set_hexpand(&self, expand: bool)

Source§

fn set_hexpand_set(&self, set: bool)

Source§

fn set_mapped(&self, mapped: bool)

Source§

fn set_margin_bottom(&self, margin: i32)

Source§

fn set_margin_end(&self, margin: i32)

Source§

fn set_margin_start(&self, margin: i32)

Source§

fn set_margin_top(&self, margin: i32)

Source§

fn set_name(&self, name: &str)

Source§

fn set_no_show_all(&self, no_show_all: bool)

Source§

fn set_opacity(&self, opacity: f64)

Source§

fn set_parent<P>(&self, parent: &P)
where P: IsA<Widget>,

Source§

fn set_parent_window<P>(&self, parent_window: &P)
where P: IsA<Window>,

Source§

fn set_realized(&self, realized: bool)

Source§

fn set_receives_default(&self, receives_default: bool)

Source§

fn set_redraw_on_allocate(&self, redraw_on_allocate: bool)

Source§

fn set_sensitive(&self, sensitive: bool)

Source§

fn set_size_request(&self, width: i32, height: i32)

Source§

fn set_state_flags(&self, flags: StateFlags, clear: bool)

Source§

fn set_support_multidevice(&self, support_multidevice: bool)

Source§

fn set_tooltip_markup(&self, markup: Option<&str>)

Source§

fn set_tooltip_text(&self, text: Option<&str>)

Source§

fn set_tooltip_window<P>(&self, custom_window: Option<&P>)
where P: IsA<Window>,

Source§

fn set_valign(&self, align: Align)

Source§

fn set_vexpand(&self, expand: bool)

Source§

fn set_vexpand_set(&self, set: bool)

Source§

fn set_visible(&self, visible: bool)

Source§

fn set_visual(&self, visual: Option<&Visual>)

Source§

fn set_window<P>(&self, window: &P)
where P: IsA<Window>,

Source§

fn shape_combine_region(&self, region: Option<&Region>)

Source§

fn show(&self)

Source§

fn show_all(&self)

Source§

fn show_now(&self)

Source§

fn size_allocate(&self, allocation: &mut Rectangle)

Source§

fn size_allocate_with_baseline(&self, allocation: &mut Rectangle, baseline: i32)

Source§

fn thaw_child_notify(&self)

Source§

fn translate_coordinates<P>( &self, dest_widget: &P, src_x: i32, src_y: i32, ) -> Option<(i32, i32)>
where P: IsA<Widget>,

Source§

fn trigger_tooltip_query(&self)

Source§

fn unmap(&self)

Source§

fn unparent(&self)

Source§

fn unrealize(&self)

Source§

fn unregister_window<P>(&self, window: &P)
where P: IsA<Window>,

Source§

fn unset_state_flags(&self, flags: StateFlags)

Source§

fn get_property_composite_child(&self) -> bool

Source§

fn get_property_expand(&self) -> bool

Source§

fn set_property_expand(&self, expand: bool)

Source§

fn get_property_has_default(&self) -> bool

Source§

fn set_property_has_default(&self, has_default: bool)

Source§

fn get_property_has_focus(&self) -> bool

Source§

fn set_property_has_focus(&self, has_focus: bool)

Source§

fn get_property_height_request(&self) -> i32

Source§

fn set_property_height_request(&self, height_request: i32)

Source§

fn get_property_is_focus(&self) -> bool

Source§

fn set_property_is_focus(&self, is_focus: bool)

Source§

fn get_property_margin(&self) -> i32

Source§

fn set_property_margin(&self, margin: i32)

Source§

fn get_property_width_request(&self) -> i32

Source§

fn set_property_width_request(&self, width_request: i32)

Source§

fn connect_accel_closures_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_button_press_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventButton) -> Inhibit + 'static,

Source§

fn connect_button_release_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventButton) -> Inhibit + 'static,

Source§

fn connect_can_activate_accel<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, u32) -> bool + 'static,

Source§

fn connect_composited_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

👎Deprecated
Source§

fn emit_composited_changed(&self)

👎Deprecated
Source§

fn connect_configure_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventConfigure) -> bool + 'static,

Source§

fn connect_damage_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventExpose) -> bool + 'static,

Source§

fn connect_delete_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) -> Inhibit + 'static,

Source§

fn connect_destroy<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_destroy_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) -> Inhibit + 'static,

Source§

fn connect_direction_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, TextDirection) + 'static,

Source§

fn connect_drag_begin<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext) + 'static,

Source§

fn connect_drag_data_delete<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext) + 'static,

Source§

fn connect_drag_data_get<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext, &SelectionData, u32, u32) + 'static,

Source§

fn connect_drag_data_received<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext, i32, i32, &SelectionData, u32, u32) + 'static,

Source§

fn connect_drag_drop<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext, i32, i32, u32) -> Inhibit + 'static,

Source§

fn connect_drag_end<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext) + 'static,

Source§

fn connect_drag_failed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext, DragResult) -> Inhibit + 'static,

Source§

fn connect_drag_leave<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext, u32) + 'static,

Source§

fn connect_drag_motion<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &DragContext, i32, i32, u32) -> Inhibit + 'static,

Source§

fn connect_draw<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Context) -> Inhibit + 'static,

Source§

fn connect_enter_notify_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventCrossing) -> Inhibit + 'static,

Source§

fn connect_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) -> Inhibit + 'static,

Source§

fn connect_event_after<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) + 'static,

Source§

fn connect_focus<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, DirectionType) -> Inhibit + 'static,

Source§

fn connect_focus_in_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventFocus) -> Inhibit + 'static,

Source§

fn connect_focus_out_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventFocus) -> Inhibit + 'static,

Source§

fn connect_grab_broken_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventGrabBroken) -> Inhibit + 'static,

Source§

fn connect_grab_focus<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn emit_grab_focus(&self)

Source§

fn connect_grab_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, bool) + 'static,

Source§

fn connect_hide<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_hierarchy_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, Option<&Widget>) + 'static,

Source§

fn connect_key_press_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventKey) -> Inhibit + 'static,

Source§

fn connect_key_release_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventKey) -> Inhibit + 'static,

Source§

fn connect_keynav_failed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, DirectionType) -> Inhibit + 'static,

Source§

fn connect_leave_notify_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventCrossing) -> Inhibit + 'static,

Source§

fn connect_map<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_mnemonic_activate<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, bool) -> Inhibit + 'static,

Source§

fn connect_motion_notify_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventMotion) -> Inhibit + 'static,

Source§

fn connect_move_focus<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, DirectionType) + 'static,

Source§

fn emit_move_focus(&self, direction: DirectionType)

Source§

fn connect_parent_set<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, Option<&Widget>) + 'static,

Source§

fn connect_popup_menu<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) -> bool + 'static,

Source§

fn emit_popup_menu(&self) -> bool

Source§

fn connect_property_notify_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventProperty) -> Inhibit + 'static,

Source§

fn connect_proximity_in_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventProximity) -> Inhibit + 'static,

Source§

fn connect_proximity_out_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventProximity) -> Inhibit + 'static,

Source§

fn connect_query_tooltip<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, i32, i32, bool, &Tooltip) -> bool + 'static,

Source§

fn connect_realize<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_screen_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, Option<&Screen>) + 'static,

Source§

fn connect_scroll_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventScroll) -> Inhibit + 'static,

Source§

fn connect_selection_clear_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventSelection) -> Inhibit + 'static,

Source§

fn connect_selection_get<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &SelectionData, u32, u32) + 'static,

Source§

fn connect_selection_notify_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventSelection) -> Inhibit + 'static,

Source§

fn connect_selection_received<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &SelectionData, u32) + 'static,

Source§

fn connect_selection_request_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventSelection) -> Inhibit + 'static,

Source§

fn connect_show<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_show_help<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, WidgetHelpType) -> bool + 'static,

Source§

fn emit_show_help(&self, help_type: WidgetHelpType) -> bool

Source§

fn connect_size_allocate<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Rectangle) + 'static,

Source§

fn connect_state_flags_changed<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, StateFlags) + 'static,

Source§

fn connect_style_updated<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_touch_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) -> Inhibit + 'static,

Source§

fn connect_unmap<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_unrealize<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_window_state_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &EventWindowState) -> Inhibit + 'static,

Source§

fn connect_property_app_paintable_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_can_default_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_can_focus_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_composite_child_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_events_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_expand_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_focus_on_click_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_halign_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_has_default_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_has_focus_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_has_tooltip_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_height_request_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_hexpand_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_hexpand_set_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_is_focus_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_margin_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_margin_bottom_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_margin_end_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_margin_start_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_margin_top_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_name_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_no_show_all_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_opacity_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_parent_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_receives_default_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_scale_factor_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_sensitive_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_tooltip_markup_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_tooltip_text_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_valign_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_vexpand_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_vexpand_set_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_visible_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_width_request_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

fn connect_property_window_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

impl<O> WidgetExtManual for O
where O: IsA<Widget>,

Source§

fn drag_dest_set( &self, flags: DestDefaults, targets: &[TargetEntry], actions: DragAction, )

Source§

fn drag_source_set( &self, start_button_mask: ModifierType, targets: &[TargetEntry], actions: DragAction, )

Source§

fn intersect( &self, area: &Rectangle, intersection: Option<&mut Rectangle>, ) -> bool

Source§

fn override_font(&self, font: &FontDescription)

Source§

fn connect_map_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) -> Inhibit + 'static,

Source§

fn connect_unmap_event<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O, &Event) -> Inhibit + 'static,

Source§

fn add_tick_callback<P>(&self, callback: P) -> TickCallbackId
where P: Fn(&O, &FrameClock) -> Continue + 'static,

Source§

fn add_events(&self, events: EventMask)

Source§

fn get_events(&self) -> EventMask

Source§

fn set_events(&self, events: EventMask)

Source§

impl<Super, Sub> CanDowncast<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,