Trait gtk4::prelude::ListItemExt

source ·
pub trait ListItemExt: IsA<ListItem> + Sealed + 'static {
Show 15 methods // Provided methods fn is_activatable(&self) -> bool { ... } fn child(&self) -> Option<Widget> { ... } fn item(&self) -> Option<Object> { ... } fn position(&self) -> u32 { ... } fn is_selectable(&self) -> bool { ... } fn is_selected(&self) -> bool { ... } fn set_activatable(&self, activatable: bool) { ... } fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... } fn set_selectable(&self, selectable: bool) { ... } 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_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 is_activatable(&self) -> bool

source

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

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_activatable(&self, activatable: bool)

source

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

source

fn set_selectable(&self, selectable: bool)

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