gtk4

Struct TreeView

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

GLib type: GObject with reference counted clone semantics.

Implementationsยง

sourceยง

impl TreeView

source

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

๐Ÿ‘ŽDeprecated: Since 4.10
source

pub fn new() -> TreeView

๐Ÿ‘ŽDeprecated: Since 4.10
source

pub fn with_model(model: &impl IsA<TreeModel>) -> TreeView

๐Ÿ‘ŽDeprecated: Since 4.10
source

pub fn builder() -> TreeViewBuilder

๐Ÿ‘ŽDeprecated: Since 4.10

Creates a new builder-pattern struct instance to construct TreeView objects.

This method returns an instance of TreeViewBuilder which can be used to create TreeView objects.

Trait Implementationsยง

sourceยง

impl Clone for TreeView

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 TreeView

sourceยง

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

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

impl Default for TreeView

sourceยง

fn default() -> Self

Returns the โ€œdefault valueโ€ for a type. Read more
sourceยง

impl HasParamSpec for TreeView

sourceยง

type ParamSpec = ParamSpecObject

sourceยง

type SetValue = TreeView

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

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

sourceยง

fn param_spec_builder() -> Self::BuilderFn

sourceยง

impl Hash for TreeView

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: TreeViewImpl> IsSubclassable<T> for TreeView

sourceยง

fn class_init(class: &mut Class<Self>)

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

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

Instance specific initialization. Read more
sourceยง

impl Ord for TreeView

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 ParentClassIs for TreeView

sourceยง

impl<OT: ObjectType> PartialEq<OT> for TreeView

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 TreeView

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 TreeView

sourceยง

fn static_type() -> Type

Returns the type identifier of Self.
sourceยง

impl Eq for TreeView

sourceยง

impl IsA<Accessible> for TreeView

sourceยง

impl IsA<Buildable> for TreeView

sourceยง

impl IsA<ConstraintTarget> for TreeView

sourceยง

impl IsA<Scrollable> for TreeView

sourceยง

impl IsA<Widget> for TreeView

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<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<U> IsSubclassableExt for U

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<O> ScrollableExt for O
where O: IsA<Scrollable>,

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<O> TreeViewExt for O
where O: IsA<TreeView>,

sourceยง

fn append_column(&self, column: &TreeViewColumn) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn collapse_all(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn collapse_row(&self, path: &TreePath) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn columns_autosize(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn convert_bin_window_to_tree_coords(&self, bx: i32, by: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn convert_bin_window_to_widget_coords(&self, bx: i32, by: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn convert_tree_to_bin_window_coords(&self, tx: i32, ty: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn convert_tree_to_widget_coords(&self, tx: i32, ty: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn convert_widget_to_bin_window_coords(&self, wx: i32, wy: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn convert_widget_to_tree_coords(&self, wx: i32, wy: i32) -> (i32, i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn create_row_drag_icon(&self, path: &TreePath) -> Option<Paintable>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn enable_model_drag_dest(&self, formats: &ContentFormats, actions: DragAction)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn enable_model_drag_source( &self, start_button_mask: ModifierType, formats: &ContentFormats, actions: DragAction, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn expand_all(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn expand_row(&self, path: &TreePath, open_all: bool) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn expand_to_path(&self, path: &TreePath)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn activates_on_single_click(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn background_area( &self, path: Option<&TreePath>, column: Option<&TreeViewColumn>, ) -> Rectangle

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn cell_area( &self, path: Option<&TreePath>, column: Option<&TreeViewColumn>, ) -> Rectangle

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn column(&self, n: i32) -> Option<TreeViewColumn>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn columns(&self) -> Vec<TreeViewColumn>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn cursor(&self) -> (Option<TreePath>, Option<TreeViewColumn>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn dest_row_at_pos( &self, drag_x: i32, drag_y: i32, ) -> Option<(Option<TreePath>, TreeViewDropPosition)>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn drag_dest_row(&self) -> (Option<TreePath>, TreeViewDropPosition)

๐Ÿ‘ŽDeprecated: Since 4.10
๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn enables_tree_lines(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn expander_column(&self) -> Option<TreeViewColumn>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_fixed_height_mode(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn grid_lines(&self) -> TreeViewGridLines

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_headers_clickable(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_headers_visible(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn hover_expands(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_hover_selection(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn level_indentation(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn model(&self) -> Option<TreeModel>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn n_columns(&self) -> u32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn path_at_pos( &self, x: i32, y: i32, ) -> Option<(Option<TreePath>, Option<TreeViewColumn>, i32, i32)>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_reorderable(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_rubber_banding(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn search_column(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn search_entry(&self) -> Option<Editable>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn selection(&self) -> TreeSelection

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn shows_expanders(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn tooltip_column(&self) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn tooltip_context( &self, x: i32, y: i32, keyboard_tip: bool, ) -> Option<(Option<TreeModel>, TreePath, TreeIter)>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn visible_range(&self) -> Option<(TreePath, TreePath)>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn visible_rect(&self) -> Rectangle

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn insert_column(&self, column: &TreeViewColumn, position: i32) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn insert_column_with_data_func<P: Fn(&TreeViewColumn, &CellRenderer, &TreeModel, &TreeIter) + 'static>( &self, position: i32, title: &str, cell: &impl IsA<CellRenderer>, func: P, ) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_blank_at_pos( &self, x: i32, y: i32, ) -> Option<(Option<TreePath>, Option<TreeViewColumn>, i32, i32)>

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn is_rubber_banding_active(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn map_expanded_rows<P: FnMut(&TreeView, &TreePath)>(&self, func: P)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn move_column_after( &self, column: &TreeViewColumn, base_column: Option<&TreeViewColumn>, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn remove_column(&self, column: &TreeViewColumn) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn row_activated(&self, path: &TreePath, column: Option<&TreeViewColumn>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn row_expanded(&self, path: &TreePath) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn scroll_to_cell( &self, path: Option<&TreePath>, column: Option<&TreeViewColumn>, use_align: bool, row_align: f32, col_align: f32, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn scroll_to_point(&self, tree_x: i32, tree_y: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_activate_on_single_click(&self, single: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_column_drag_function( &self, func: Option<Box_<dyn Fn(&TreeView, &TreeViewColumn, &TreeViewColumn, &TreeViewColumn) -> bool + 'static>>, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_cursor( &self, path: &TreePath, focus_column: Option<&TreeViewColumn>, start_editing: bool, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_cursor_on_cell( &self, path: &TreePath, focus_column: Option<&TreeViewColumn>, focus_cell: Option<&impl IsA<CellRenderer>>, start_editing: bool, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_drag_dest_row(&self, path: Option<&TreePath>, pos: TreeViewDropPosition)

๐Ÿ‘ŽDeprecated: Since 4.10
๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_enable_tree_lines(&self, enabled: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_expander_column(&self, column: Option<&TreeViewColumn>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_fixed_height_mode(&self, enable: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_grid_lines(&self, grid_lines: TreeViewGridLines)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_headers_clickable(&self, setting: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_headers_visible(&self, headers_visible: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_hover_expand(&self, expand: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_hover_selection(&self, hover: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_level_indentation(&self, indentation: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_model(&self, model: Option<&impl IsA<TreeModel>>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_reorderable(&self, reorderable: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_row_separator_func<P: Fn(&TreeModel, &TreeIter) -> bool + 'static>( &self, func: P, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_rubber_banding(&self, enable: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_search_column(&self, column: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_search_entry(&self, entry: Option<&impl IsA<Editable>>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_search_equal_func<P: Fn(&TreeModel, i32, &str, &TreeIter) -> bool + 'static>( &self, search_equal_func: P, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_show_expanders(&self, enabled: bool)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_tooltip_cell( &self, tooltip: &Tooltip, path: Option<&TreePath>, column: Option<&TreeViewColumn>, cell: Option<&impl IsA<CellRenderer>>, )

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_tooltip_column(&self, column: i32)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_tooltip_row(&self, tooltip: &Tooltip, path: &TreePath)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn unset_rows_drag_dest(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn unset_rows_drag_source(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn enable_grid_lines(&self) -> TreeViewGridLines

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn set_enable_grid_lines(&self, enable_grid_lines: TreeViewGridLines)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_expand_collapse_cursor_row( &self, object: bool, p0: bool, p1: bool, ) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_move_cursor( &self, step: MovementStep, direction: i32, extend: bool, modify: bool, ) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn connect_row_activated<F: Fn(&Self, &TreePath, Option<&TreeViewColumn>) + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_row_activated(&self, path: &TreePath, column: Option<&TreeViewColumn>)

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_select_all(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_select_cursor_parent(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_select_cursor_row(&self, object: bool) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
๐Ÿ‘ŽDeprecated: Since 4.10
๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn connect_test_collapse_row<F: Fn(&Self, &TreeIter, &TreePath) -> Propagation + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn connect_test_expand_row<F: Fn(&Self, &TreeIter, &TreePath) -> Propagation + 'static>( &self, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_toggle_cursor_row(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn emit_unselect_all(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

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

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

impl<O> TreeViewExtManual for O
where O: IsA<TreeView>,

sourceยง

fn insert_column_with_attributes( &self, position: i32, title: &str, cell: &impl IsA<CellRenderer>, attributes: &[(&str, i32)], ) -> i32

๐Ÿ‘ŽDeprecated: Since 4.10
sourceยง

fn unset_row_separator_func(&self)

๐Ÿ‘ŽDeprecated: Since 4.10
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>,