gtk

Struct TreeView

Source
pub struct TreeView { /* private fields */ }

Implementations§

Source§

impl TreeView

Source

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

Source

pub fn new() -> TreeView

Source

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

Source

pub fn builder() -> TreeViewBuilder

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

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

Source§

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

Formats the value using the given formatter. 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,

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<T: ContainerImpl> 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

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 TreeView

Source§

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

Source§

fn eq(&self, other: &OT) -> 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<OT: ObjectType> PartialOrd<OT> for TreeView

Source§

fn partial_cmp(&self, other: &OT) -> 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 TreeView

Source§

fn static_type() -> Type

Returns the type identifier of Self.
Source§

impl Eq for TreeView

Source§

impl IsA<Buildable> for TreeView

Source§

impl IsA<Container> for TreeView

Source§

impl IsA<Scrollable> for TreeView

Source§

impl IsA<Widget> for TreeView

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

Source§

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

Source§

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

Source§

fn internal_child( &self, builder: &impl IsA<Builder>, childname: &str, ) -> Option<Object>

Source§

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

Source§

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

Source§

impl<O> BuildableExtManual 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 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(&self, widget: &impl IsA<Widget>)

Source§

fn check_resize(&self)

Source§

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

Source§

fn child_notify_by_pspec( &self, child: &impl IsA<Widget>, pspec: impl AsRef<ParamSpec>, )

Source§

fn child_type(&self) -> Type

Source§

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

Source§

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

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(&self, child: &impl IsA<Widget>) -> Option<WidgetPath>

Source§

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

Source§

fn remove(&self, widget: &impl 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(&self, child: Option<&impl IsA<Widget>>)

Source§

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

Source§

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

Source§

fn unset_focus_chain(&self)

Source§

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

Source§

fn resize_mode(&self) -> ResizeMode

Source§

fn set_resize_mode(&self, resize_mode: ResizeMode)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn child_property_value( &self, child: &impl IsA<Widget>, property_name: &str, ) -> Value

Source§

fn child_property<V: for<'b> FromValue<'b> + 'static>( &self, child: &impl IsA<Widget>, property_name: &str, ) -> V

Source§

fn child_set_property( &self, child: &impl IsA<Widget>, property_name: &str, value: &dyn ToValue, )

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

type Value = T

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> ToString for T
where T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

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

impl<T> TransparentType for T

Source§

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

Source§

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

Source§

fn collapse_all(&self)

Source§

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

Source§

fn columns_autosize(&self)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn expand_all(&self)

Source§

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

Source§

fn expand_to_path(&self, path: &TreePath)

Source§

fn activates_on_single_click(&self) -> bool

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn enables_tree_lines(&self) -> bool

Source§

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

Source§

fn is_fixed_height_mode(&self) -> bool

Source§

fn grid_lines(&self) -> TreeViewGridLines

Source§

fn is_headers_clickable(&self) -> bool

Source§

fn is_headers_visible(&self) -> bool

Source§

fn hover_expands(&self) -> bool

Source§

fn is_hover_selection(&self) -> bool

Source§

fn level_indentation(&self) -> i32

Source§

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

Source§

fn n_columns(&self) -> u32

Source§

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

Source§

fn is_reorderable(&self) -> bool

Source§

fn is_rubber_banding(&self) -> bool

Source§

fn search_column(&self) -> i32

Source§

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

Source§

fn selection(&self) -> TreeSelection

Source§

fn shows_expanders(&self) -> bool

Source§

fn tooltip_column(&self) -> i32

Source§

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

Source§

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

Source§

fn visible_rect(&self) -> Rectangle

Source§

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

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

Source§

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

Source§

fn is_rubber_banding_active(&self) -> bool

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn set_activate_on_single_click(&self, single: bool)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn set_enable_tree_lines(&self, enabled: bool)

Source§

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

Source§

fn set_fixed_height_mode(&self, enable: bool)

Source§

fn set_grid_lines(&self, grid_lines: TreeViewGridLines)

Source§

fn set_headers_clickable(&self, setting: bool)

Source§

fn set_headers_visible(&self, headers_visible: bool)

Source§

fn set_hover_expand(&self, expand: bool)

Source§

fn set_hover_selection(&self, hover: bool)

Source§

fn set_level_indentation(&self, indentation: i32)

Source§

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

Source§

fn set_reorderable(&self, reorderable: bool)

Source§

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

Source§

fn set_rubber_banding(&self, enable: bool)

Source§

fn set_search_column(&self, column: i32)

Source§

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

Source§

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

Source§

fn set_search_position_func( &self, func: Option<Box_<dyn Fn(&TreeView, &Widget) + 'static>>, )

Source§

fn set_show_expanders(&self, enabled: bool)

Source§

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

Source§

fn set_tooltip_column(&self, column: i32)

Source§

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

Source§

fn unset_rows_drag_dest(&self)

Source§

fn unset_rows_drag_source(&self)

Source§

fn enable_grid_lines(&self) -> TreeViewGridLines

Source§

fn set_enable_grid_lines(&self, enable_grid_lines: TreeViewGridLines)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn emit_select_all(&self) -> bool

Source§

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

Source§

fn emit_select_cursor_parent(&self) -> bool

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn emit_toggle_cursor_row(&self) -> bool

Source§

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

Source§

fn emit_unselect_all(&self) -> bool

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

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

Source§

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

Source§

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

Source§

fn add_mnemonic_label(&self, label: &impl 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_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(&self, icon: &impl 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_size(&self) -> (Allocation, i32)

Source§

fn allocated_width(&self) -> i32

Source§

fn allocation(&self) -> Allocation

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) -> Allocation

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 gets_focus_on_click(&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(&self, name: &str, group: Option<&impl IsA<ActionGroup>>)

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_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_allocate(&self)

Source§

fn queue_compute_expand(&self)

Source§

fn queue_draw(&self)

Source§

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

Source§

fn queue_draw_region(&self, region: &Region)

Source§

fn queue_resize(&self)

Source§

fn queue_resize_no_redraw(&self)

Source§

fn realize(&self)

Source§

fn register_window(&self, window: &Window)

Source§

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

Source§

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

Source§

fn reset_style(&self)

Source§

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

Source§

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

Source§

fn set_allocation(&self, allocation: &Allocation)

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: &Allocation)

Source§

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

Source§

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

Source§

fn set_direction(&self, dir: TextDirection)

Source§

fn set_focus_on_click(&self, focus_on_click: bool)

Source§

fn set_font_map(&self, font_map: Option<&impl 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(&self, parent: &impl 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(&self, custom_window: Option<&impl 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: &Allocation)

Source§

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

Source§

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

Source§

fn thaw_child_notify(&self)

Source§

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

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

Source§

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

Source§

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

Source§

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

Source§

fn connect_child_notify<F: Fn(&Self, &ParamSpec) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn emit_grab_focus(&self)

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn connect_leave_notify_event<F: Fn(&Self, &EventCrossing) -> 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_motion_notify_event<F: Fn(&Self, &EventMotion) -> 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_parent_set<F: Fn(&Self, Option<&Widget>) + 'static>( &self, f: F, ) -> SignalHandlerId

Source§

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

Source§

fn emit_popup_menu(&self) -> bool

Source§

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

Source§

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

Source§

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

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_screen_changed<F: Fn(&Self, Option<&Screen>) + 'static>( &self, f: F, ) -> SignalHandlerId

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn connect_touch_event<F: Fn(&Self, &Event) -> Propagation + '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_window_state_event<F: Fn(&Self, &EventWindowState) -> Propagation + 'static>( &self, f: F, ) -> SignalHandlerId

Source§

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

Source§

fn connect_can_default_notify<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_composite_child_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source§

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

Source§

fn connect_expand_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_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_is_focus_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source§

fn connect_margin_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_no_show_all_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_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_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§

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

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: Fn(&Self, &Event) -> Propagation + 'static>( &self, f: F, ) -> SignalHandlerId

Source§

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

Source§

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

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) -> Propagation

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