gtk4

Struct CellEditable

source
pub struct CellEditable { /* private fields */ }
๐Ÿ‘ŽDeprecated: Since 4.10
Expand description

GLib type: GObject with reference counted clone semantics.

Implementationsยง

sourceยง

impl CellEditable

source

pub const NONE: Option<&'static CellEditable> = None

๐Ÿ‘ŽDeprecated: Since 4.10

Trait Implementationsยง

sourceยง

impl Clone for CellEditable

sourceยง

fn clone(&self) -> Self

Makes a clone of this shared reference.

This increments the strong reference count of the object. Dropping the object will decrement it again.

1.6.0 ยท sourceยง

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

Performs copy-assignment from source. Read more
sourceยง

impl Debug for CellEditable

sourceยง

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

Formats the value using the given formatter. Read more
sourceยง

impl HasParamSpec for CellEditable

sourceยง

type ParamSpec = ParamSpecObject

sourceยง

type SetValue = CellEditable

Preferred value to be used as setter for the associated ParamSpec.
sourceยง

type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, CellEditable>

sourceยง

fn param_spec_builder() -> Self::BuilderFn

sourceยง

impl Hash for CellEditable

sourceยง

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

Hashes the memory address of this object.

1.6.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<T: CellEditableImpl> IsImplementable<T> for CellEditable

sourceยง

fn interface_init(iface: &mut Interface<Self>)

Override the virtual methods of this interface for the given subclass and do other interface initialization. Read more
sourceยง

fn instance_init(_instance: &mut InitializingObject<T>)

Instance specific initialization. Read more
sourceยง

impl Ord for CellEditable

sourceยง

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

Comparison for two GObjects.

Compares the memory addresses of the provided objects.

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<OT: ObjectType> PartialEq<OT> for CellEditable

sourceยง

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

Equality for two GObjects.

Two GObjects are equal if their memory addresses are equal.

1.6.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<OT: ObjectType> PartialOrd<OT> for CellEditable

sourceยง

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

Partial comparison for two GObjects.

Compares the memory addresses of the provided objects.

1.6.0 ยท sourceยง

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

Tests less than (for self and other) and is used by the < operator. Read more
1.6.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.6.0 ยท sourceยง

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.6.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 CellEditable

sourceยง

fn static_type() -> Type

Returns the type identifier of Self.
sourceยง

impl Eq for CellEditable

sourceยง

impl IsA<Accessible> for CellEditable

sourceยง

impl IsA<Buildable> for CellEditable

sourceยง

impl IsA<CellEditable> for ComboBox

sourceยง

impl IsA<CellEditable> for ComboBoxText

sourceยง

impl IsA<CellEditable> for Entry

sourceยง

impl IsA<CellEditable> for SpinButton

sourceยง

impl IsA<ConstraintTarget> for CellEditable

sourceยง

impl IsA<Widget> for CellEditable

Auto Trait Implementationsยง

Blanket Implementationsยง

sourceยง

impl<O> AccessibleExt for O
where O: IsA<Accessible>,

sourceยง

fn announce(&self, message: &str, priority: AccessibleAnnouncementPriority)

Available on crate feature v4_14 only.
sourceยง

fn accessible_parent(&self) -> Option<Accessible>

Available on crate feature v4_10 only.
sourceยง

fn accessible_role(&self) -> AccessibleRole

sourceยง

fn at_context(&self) -> ATContext

Available on crate feature v4_10 only.
sourceยง

fn bounds(&self) -> Option<(i32, i32, i32, i32)>

Available on crate feature v4_10 only.
sourceยง

fn first_accessible_child(&self) -> Option<Accessible>

Available on crate feature v4_10 only.
sourceยง

fn next_accessible_sibling(&self) -> Option<Accessible>

Available on crate feature v4_10 only.
sourceยง

fn platform_state(&self, state: AccessiblePlatformState) -> bool

Available on crate feature v4_10 only.
sourceยง

fn reset_property(&self, property: AccessibleProperty)

sourceยง

fn reset_relation(&self, relation: AccessibleRelation)

sourceยง

fn reset_state(&self, state: AccessibleState)

sourceยง

fn set_accessible_parent( &self, parent: Option<&impl IsA<Accessible>>, next_sibling: Option<&impl IsA<Accessible>>, )

Available on crate feature v4_10 only.
sourceยง

fn update_next_accessible_sibling( &self, new_sibling: Option<&impl IsA<Accessible>>, )

Available on crate feature v4_10 only.
sourceยง

fn set_accessible_role(&self, accessible_role: AccessibleRole)

sourceยง

fn connect_accessible_role_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

impl<O> AccessibleExtManual for O
where O: IsA<Accessible>,

sourceยง

fn update_property(&self, properties: &[Property<'_>])

sourceยง

fn update_relation(&self, relations: &[Relation<'_>])

sourceยง

fn update_state(&self, states: &[State])

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<O> BuildableExt for O
where O: IsA<Buildable>,

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: MayDowncastTo<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: MayDowncastTo<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 upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of compile-time safety. 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<O> CellEditableExt for O
where O: IsA<CellEditable>,

sourceยง

fn editing_done(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn remove_widget(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn start_editing(&self, event: Option<impl AsRef<Event>>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_editing_canceled(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_editing_canceled(&self, editing_canceled: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn connect_editing_done<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn connect_remove_widget<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn connect_editing_canceled_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

sourceยง

unsafe fn clone_to_uninit(&self, dst: *mut T)

๐Ÿ”ฌThis is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
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<O> GObjectPropertyExpressionExt for O
where O: IsA<Object>,

sourceยง

fn property_expression(&self, property_name: &str) -> PropertyExpression

Create an expression looking up an objectโ€™s property.
sourceยง

fn property_expression_weak(&self, property_name: &str) -> PropertyExpression

Create an expression looking up an objectโ€™s property with a weak reference.
sourceยง

fn this_expression(property_name: &str) -> PropertyExpression

Create an expression looking up a property in the bound this object.
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> IntoClosureReturnValue for T
where T: Into<Value>,

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

Returns the type of the object.
sourceยง

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

Returns the ObjectClass of the object. Read more
sourceยง

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

Returns the class of the object.
sourceยง

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

Returns the class of the object in the given type T. Read more
sourceยง

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

Returns the interface T of the object. Read more
sourceยง

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
sourceยง

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
sourceยง

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
sourceยง

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
sourceยง

fn property<V>(&self, property_name: &str) -> V
where V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
sourceยง

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

Gets the property property_name of the object. Read more
sourceยง

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
sourceยง

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
sourceยง

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
sourceยง

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

Return all ParamSpec of the properties of this object.
sourceยง

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
sourceยง

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

Set arbitrary data on this object with the given key. Read more
sourceยง

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

Return previously set arbitrary data of this object with the given key. Read more
sourceยง

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

Retrieve previously set arbitrary data of this object with the given key. Read more
sourceยง

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

Set arbitrary data on this object with the given key. Read more
sourceยง

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

Return previously set arbitrary data of this object with the given key. Read more
sourceยง

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

Retrieve previously set arbitrary data of this object with the given key. Read more
sourceยง

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
sourceยง

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
sourceยง

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
sourceยง

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
sourceยง

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

Connect to the signal signal_name on this object. Read more
sourceยง

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

Connect to the signal signal_id on this object. Read more
sourceยง

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

Connect to the signal signal_name on this object. Read more
sourceยง

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

Connect to the signal signal_id on this object. Read more
sourceยง

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

Connect to the signal signal_name on this object. Read more
sourceยง

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

Connect to the signal signal_id on this object. Read more
sourceยง

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, ) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
sourceยง

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, ) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
sourceยง

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the objectโ€™s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or invoke when using Rust closures.
sourceยง

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
sourceยง

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

Same as Self::emit but takes Value for the arguments.
sourceยง

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
sourceยง

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], ) -> Option<Value>

Emit signal by its name. Read more
sourceยง

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
sourceยง

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], ) -> Option<Value>

Emit signal by its name with details. Read more
sourceยง

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

Emit signal by signal id with details. Read more
sourceยง

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

Emit signal by signal id with details. Read more
sourceยง

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
sourceยง

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

Connect to the notify signal of the object. Read more
sourceยง

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

Connect to the notify signal of the object. Read more
sourceยง

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

Connect to the notify signal of the object. Read more
sourceยง

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
sourceยง

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
sourceยง

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

Downgrade this object to a weak reference.
sourceยง

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
sourceยง

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
sourceยง

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

Bind property source_property on this object to the target_property on the target object. Read more
sourceยง

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
sourceยง

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
sourceยง

impl<T> Property for T
where T: HasParamSpec,

sourceยง

impl<T> PropertyGet for T
where T: HasParamSpec,

sourceยง

type Value = T

sourceยง

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

sourceยง

impl<T> StaticTypeExt for T
where T: StaticType,

sourceยง

fn ensure_type()

Ensures that the type has been registered with the type system.
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> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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 action_set_enabled(&self, action_name: &str, enabled: bool)

sourceยง

fn activate(&self) -> bool

sourceยง

fn activate_action( &self, name: &str, args: Option<&Variant>, ) -> Result<(), BoolError>

sourceยง

fn activate_default(&self)

sourceยง

fn add_controller(&self, controller: impl IsA<EventController>)

sourceยง

fn add_css_class(&self, css_class: &str)

sourceยง

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

sourceยง

fn allocate( &self, width: i32, height: i32, baseline: i32, transform: Option<Transform>, )

sourceยง

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

sourceยง

fn compute_bounds(&self, target: &impl IsA<Widget>) -> Option<Rect>

sourceยง

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

sourceยง

fn compute_point( &self, target: &impl IsA<Widget>, point: &Point, ) -> Option<Point>

sourceยง

fn compute_transform(&self, target: &impl IsA<Widget>) -> Option<Matrix>

sourceยง

fn contains(&self, x: f64, y: f64) -> bool

sourceยง

fn create_pango_context(&self) -> Context

sourceยง

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

sourceยง

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

sourceยง

fn error_bell(&self)

sourceยง

fn allocated_baseline(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.12
sourceยง

fn allocated_height(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.12
sourceยง

fn allocated_width(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.12
sourceยง

fn allocation(&self) -> Allocation

๐Ÿ‘ŽDeprecated: Since 4.12
sourceยง

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

sourceยง

fn baseline(&self) -> i32

Available on crate feature v4_12 only.
sourceยง

fn can_focus(&self) -> bool

sourceยง

fn can_target(&self) -> bool

sourceยง

fn is_child_visible(&self) -> bool

sourceยง

fn clipboard(&self) -> Clipboard

sourceยง

fn color(&self) -> RGBA

Available on crate feature v4_10 only.
sourceยง

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

sourceยง

fn css_name(&self) -> GString

sourceยง

fn cursor(&self) -> Option<Cursor>

sourceยง

fn direction(&self) -> TextDirection

sourceยง

fn display(&self) -> Display

sourceยง

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

sourceยง

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

sourceยง

fn gets_focus_on_click(&self) -> bool

sourceยง

fn is_focusable(&self) -> bool

sourceยง

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

sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.16
sourceยง

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

sourceยง

fn halign(&self) -> Align

sourceยง

fn has_tooltip(&self) -> bool

sourceยง

fn height(&self) -> i32

sourceยง

fn hexpands(&self) -> bool

sourceยง

fn is_hexpand_set(&self) -> bool

sourceยง

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

sourceยง

fn layout_manager(&self) -> Option<LayoutManager>

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 widget_name(&self) -> GString

sourceยง

fn native(&self) -> Option<Native>

sourceยง

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

sourceยง

fn opacity(&self) -> f64

sourceยง

fn overflow(&self) -> Overflow

sourceยง

fn pango_context(&self) -> Context

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

fn primary_clipboard(&self) -> Clipboard

sourceยง

fn is_realized(&self) -> bool

sourceยง

fn receives_default(&self) -> bool

sourceยง

fn request_mode(&self) -> SizeRequestMode

sourceยง

fn root(&self) -> Option<Root>

sourceยง

fn scale_factor(&self) -> i32

sourceยง

fn get_sensitive(&self) -> bool

sourceยง

fn settings(&self) -> Settings

sourceยง

fn size(&self, orientation: Orientation) -> i32

sourceยง

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

sourceยง

fn state_flags(&self) -> StateFlags

sourceยง

fn style_context(&self) -> StyleContext

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

sourceยง

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

sourceยง

fn valign(&self) -> Align

sourceยง

fn vexpands(&self) -> bool

sourceยง

fn is_vexpand_set(&self) -> bool

sourceยง

fn get_visible(&self) -> bool

sourceยง

fn width(&self) -> i32

sourceยง

fn grab_focus(&self) -> bool

sourceยง

fn has_css_class(&self, css_class: &str) -> bool

sourceยง

fn has_default(&self) -> bool

sourceยง

fn has_focus(&self) -> bool

sourceยง

fn has_visible_focus(&self) -> bool

sourceยง

fn hide(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn in_destruction(&self) -> bool

sourceยง

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

sourceยง

fn insert_after( &self, parent: &impl IsA<Widget>, previous_sibling: Option<&impl IsA<Widget>>, )

sourceยง

fn insert_before( &self, parent: &impl IsA<Widget>, next_sibling: Option<&impl IsA<Widget>>, )

sourceยง

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

sourceยง

fn is_drawable(&self) -> bool

sourceยง

fn is_focus(&self) -> bool

sourceยง

fn is_sensitive(&self) -> bool

sourceยง

fn is_visible(&self) -> bool

sourceยง

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

sourceยง

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

sourceยง

fn map(&self)

sourceยง

fn measure( &self, orientation: Orientation, for_size: i32, ) -> (i32, i32, i32, i32)

sourceยง

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

sourceยง

fn observe_children(&self) -> ListModel

sourceยง

fn observe_controllers(&self) -> ListModel

sourceยง

fn pick(&self, x: f64, y: f64, flags: PickFlags) -> Option<Widget>

sourceยง

fn queue_allocate(&self)

sourceยง

fn queue_draw(&self)

sourceยง

fn queue_resize(&self)

sourceยง

fn realize(&self)

sourceยง

fn remove_controller(&self, controller: &impl IsA<EventController>)

sourceยง

fn remove_css_class(&self, css_class: &str)

sourceยง

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

sourceยง

fn set_can_focus(&self, can_focus: bool)

sourceยง

fn set_can_target(&self, can_target: bool)

sourceยง

fn set_child_visible(&self, child_visible: bool)

sourceยง

fn set_css_classes(&self, classes: &[&str])

sourceยง

fn set_cursor(&self, cursor: Option<&Cursor>)

sourceยง

fn set_cursor_from_name(&self, name: Option<&str>)

sourceยง

fn set_direction(&self, dir: TextDirection)

sourceยง

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

sourceยง

fn set_focus_on_click(&self, focus_on_click: bool)

sourceยง

fn set_focusable(&self, focusable: bool)

sourceยง

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

sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.16
sourceยง

fn set_halign(&self, align: Align)

sourceยง

fn set_has_tooltip(&self, has_tooltip: bool)

sourceยง

fn set_hexpand(&self, expand: bool)

sourceยง

fn set_hexpand_set(&self, set: bool)

sourceยง

fn set_layout_manager(&self, layout_manager: Option<impl IsA<LayoutManager>>)

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_opacity(&self, opacity: f64)

sourceยง

fn set_overflow(&self, overflow: Overflow)

sourceยง

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

sourceยง

fn set_receives_default(&self, receives_default: 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_tooltip_markup(&self, markup: Option<&str>)

sourceยง

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

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 should_layout(&self) -> bool

sourceยง

fn show(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn size_allocate(&self, allocation: &Allocation, baseline: i32)

sourceยง

fn snapshot_child( &self, child: &impl IsA<Widget>, snapshot: &impl IsA<Snapshot>, )

sourceยง

fn translate_coordinates( &self, dest_widget: &impl IsA<Widget>, src_x: f64, src_y: f64, ) -> Option<(f64, f64)>

๐Ÿ‘ŽDeprecated: Since 4.12
sourceยง

fn trigger_tooltip_query(&self)

sourceยง

fn unmap(&self)

sourceยง

fn unparent(&self)

sourceยง

fn unrealize(&self)

sourceยง

fn unset_state_flags(&self, flags: StateFlags)

sourceยง

fn height_request(&self) -> i32

sourceยง

fn set_height_request(&self, height_request: i32)

sourceยง

fn width_request(&self) -> i32

sourceยง

fn set_width_request(&self, width_request: i32)

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

fn connect_keynav_failed<F: Fn(&Self, DirectionType) -> Propagation + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

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

sourceยง

fn connect_mnemonic_activate<F: Fn(&Self, bool) -> Propagation + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

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

sourceยง

fn emit_move_focus(&self, direction: DirectionType)

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

fn connect_can_target_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

fn connect_css_classes_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

fn connect_cursor_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

sourceยง

fn connect_focus_on_click_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

fn connect_focusable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

fn connect_layout_manager_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

fn connect_overflow_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

sourceยง

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

sourceยง

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

sourceยง

fn connect_root_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

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

sourceยง

fn add_tick_callback<P: Fn(&Self, &FrameClock) -> ControlFlow + 'static>( &self, callback: P, ) -> TickCallbackId

sourceยง

impl<O> ConstraintTargetExt for O

sourceยง

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

sourceยง

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