Trait ListItemExt

Source
pub trait ListItemExt: IsA<ListItem> + '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>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_accessible_label_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_activatable_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_child_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_focusable_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_item_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_position_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_selectable_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_selected_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... }
}

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

Available on crate feature v4_12 only.
Source

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

Available on crate feature v4_12 only.
Source

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

Source

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

Source

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

Available on crate feature v4_12 only.
Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<O> ListItemExt for O
where O: IsA<ListItem>,