Trait gtk4::prelude::ListItemExt

source ·
pub trait ListItemExt: IsA<ListItem> + Sealed + 'static {
Show 24 methods // Provided methods fn accessible_description(&self) -> GString { ... } fn accessible_label(&self) -> GString { ... } fn is_activatable(&self) -> bool { ... } fn child(&self) -> Option<Widget> { ... } fn is_focusable(&self) -> bool { ... } fn item(&self) -> Option<Object> { ... } fn position(&self) -> u32 { ... } fn is_selectable(&self) -> bool { ... } fn is_selected(&self) -> bool { ... } fn set_accessible_description(&self, description: &str) { ... } fn set_accessible_label(&self, label: &str) { ... } fn set_activatable(&self, activatable: bool) { ... } fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... } fn set_focusable(&self, focusable: bool) { ... } fn set_selectable(&self, selectable: bool) { ... } fn connect_accessible_description_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_accessible_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_activatable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_child_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_focusable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_item_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_position_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_selectable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_selected_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn accessible_description(&self) -> GString

Available on crate feature v4_12 only.
source

fn accessible_label(&self) -> GString

Available on crate feature v4_12 only.
source

fn is_activatable(&self) -> bool

source

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

source

fn is_focusable(&self) -> bool

Available on crate feature v4_12 only.
source

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

source

fn position(&self) -> u32

source

fn is_selectable(&self) -> bool

source

fn is_selected(&self) -> bool

source

fn set_accessible_description(&self, description: &str)

Available on crate feature v4_12 only.
source

fn set_accessible_label(&self, label: &str)

Available on crate feature v4_12 only.
source

fn set_activatable(&self, activatable: bool)

source

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

source

fn set_focusable(&self, focusable: bool)

Available on crate feature v4_12 only.
source

fn set_selectable(&self, selectable: bool)

source

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

Available on crate feature v4_12 only.
source

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

Available on crate feature v4_12 only.
source

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

Available on crate feature v4_12 only.
source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§