Struct WebViewBase

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

Trait Implementations§

Source§

impl Clone for WebViewBase

Source§

fn clone(&self) -> WebViewBase

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 WebViewBase

Source§

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

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

impl Display for WebViewBase

Source§

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

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

impl Hash for WebViewBase

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 WebViewBase

Source§

fn cmp(&self, other: &WebViewBase) -> 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 ParentClassIs for WebViewBase

Source§

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

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 WebViewBase

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 WebViewBase

Source§

fn static_type() -> Type

Returns the type identifier of Self.
Source§

impl Eq for WebViewBase

Source§

impl IsA<Container> for WebViewBase

Source§

impl IsA<WebViewBase> for WebView

Source§

impl IsA<Widget> for WebViewBase

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<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<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, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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_notify_by_pspec<P>(&self, child: &P, pspec: &ParamSpec)
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 border_width(&self) -> u32

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn 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_child<P>(&self, child: Option<&P>)
where P: IsA<Widget>,

Source§

fn resize_mode(&self) -> ResizeMode

Source§

fn set_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_border_width_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

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

Source§

fn connect_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 GPtrArray> 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 GPtrArray> 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 GPtrArray> 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 GPtrArray> 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 type_(&self) -> Type

Source§

fn object_class(&self) -> &Class<Object>

Source§

fn class(&self) -> &Class<T>
where T: IsClass,

Source§

fn class_of<U>(&self) -> Option<&Class<U>>
where U: IsClass,

Source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where U: IsInterface,

Source§

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

Source§

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

Source§

fn set_properties( &self, property_values: &[(&str, &dyn ToValue)], ) -> Result<(), BoolError>

Source§

fn set_properties_from_value( &self, property_values: &[(&str, Value)], ) -> Result<(), BoolError>

Source§

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

Source§

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

Source§

fn 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 freeze_notify(&self) -> PropertyNotificationFreezeGuard

Source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where QD: 'static,

Safety Read more
Source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where QD: 'static,

Safety Read more
Source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where QD: 'static,

Safety Read more
Source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where QD: 'static,

Safety Read more
Source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where QD: 'static,

Safety Read more
Source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where QD: 'static,

Safety Read more
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 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§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
where F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Same as connect but takes a SignalId instead of a signal name.
Source§

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

Source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
where F: Fn(&[Value]) -> Option<Value> + 'static,

Same as connect_local but takes a SignalId instead of a signal name.
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§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> Result<SignalHandlerId, BoolError>
where F: Fn(&[Value]) -> Option<Value>,

Same as connect_unsafe but takes a SignalId instead of a signal name.
Source§

fn emit( &self, signal_id: SignalId, args: &[&dyn ToValue], ) -> Result<Option<Value>, BoolError>

Emit signal by signal id.
Source§

fn emit_with_values( &self, signal_id: SignalId, args: &[Value], ) -> Result<Option<Value>, BoolError>

Same as emit but takes Value for the arguments.
Source§

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

Emit signal by its name.
Source§

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

Same as emit_by_name but takes Value for the arguments.
Source§

fn emit_with_details( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> Result<Option<Value>, BoolError>

Emit signal with details by signal id.
Source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], ) -> Result<Option<Value>, BoolError>

Same as emit_with_details but takes Value for the arguments.
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§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where F: Fn(&T, &ParamSpec) + '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 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<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, 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) -> Context

Source§

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

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( &self, proxy_window: &Window, protocol: DragProtocol, use_coordinates: bool, )

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 accessible(&self) -> Option<Object>

Source§

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

Source§

fn allocated_baseline(&self) -> i32

Source§

fn allocated_height(&self) -> i32

Source§

fn allocated_width(&self) -> i32

Source§

fn allocation(&self) -> Rectangle

Source§

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

Source§

fn is_app_paintable(&self) -> bool

Source§

fn can_default(&self) -> bool

Source§

fn can_focus(&self) -> bool

Source§

fn is_child_visible(&self) -> bool

Source§

fn clip(&self) -> Rectangle

Source§

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

Source§

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

Source§

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

Source§

fn direction(&self) -> TextDirection

Source§

fn display(&self) -> Display

Source§

fn is_double_buffered(&self) -> bool

Source§

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

Source§

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

Source§

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

Source§

fn halign(&self) -> Align

Source§

fn has_tooltip(&self) -> bool

Source§

fn has_window(&self) -> bool

Source§

fn hexpands(&self) -> bool

Source§

fn is_hexpand_set(&self) -> bool

Source§

fn is_mapped(&self) -> bool

Source§

fn margin_bottom(&self) -> i32

Source§

fn margin_end(&self) -> i32

Source§

fn margin_start(&self) -> i32

Source§

fn margin_top(&self) -> i32

Source§

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

Source§

fn widget_name(&self) -> GString

Source§

fn is_no_show_all(&self) -> bool

Source§

fn opacity(&self) -> f64

Source§

fn pango_context(&self) -> Context

Source§

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

Source§

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

Source§

fn path(&self) -> WidgetPath

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn is_realized(&self) -> bool

Source§

fn receives_default(&self) -> bool

Source§

fn request_mode(&self) -> SizeRequestMode

Source§

fn scale_factor(&self) -> i32

Source§

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

Source§

fn get_sensitive(&self) -> bool

Source§

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

Source§

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

Source§

fn state_flags(&self) -> StateFlags

Source§

fn style_context(&self) -> StyleContext

Source§

fn supports_multidevice(&self) -> bool

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn valign(&self) -> Align

Source§

fn valign_with_baseline(&self) -> Align

Source§

fn vexpands(&self) -> bool

Source§

fn is_vexpand_set(&self) -> bool

Source§

fn get_visible(&self) -> bool

Source§

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

Source§

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

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 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(&self, window: &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

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_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_widget_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(&self, parent_window: &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(&self, window: &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: &Rectangle)

Source§

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

Source§

fn style_get_property(&self, property_name: &str) -> Value

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(&self, window: &Window)

Source§

fn unset_state_flags(&self, flags: StateFlags)

Source§

fn is_composite_child(&self) -> bool

Source§

fn expands(&self) -> bool

Source§

fn set_expand(&self, expand: bool)

Source§

fn set_has_default(&self, has_default: bool)

Source§

fn set_has_focus(&self, has_focus: bool)

Source§

fn height_request(&self) -> i32

Source§

fn set_height_request(&self, height_request: i32)

Source§

fn set_is_focus(&self, is_focus: bool)

Source§

fn margin(&self) -> i32

Source§

fn set_margin(&self, margin: i32)

Source§

fn width_request(&self) -> i32

Source§

fn set_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_child_notify<F>(&self, detail: Option<&str>, f: F) -> SignalHandlerId
where F: Fn(&O, &ParamSpec) + 'static,

Source§

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

Source§

fn emit_composited_changed(&self)

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) -> bool + '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) -> bool + '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_app_paintable_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&O) + 'static,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn connect_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 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 events(&self) -> EventMask

Source§

fn set_events(&self, events: EventMask)

Source§

unsafe fn destroy(&self)

Calls gtk_widget_destroy() on this widget. Read more
Source§

fn hide_on_delete(&self) -> Inhibit

Source§

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

Source§

impl<'a, T, C> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,