Trait gtk4::prelude::ListBoxRowExt
source · [−]pub trait ListBoxRowExt: 'static {
Show 16 methods
fn changed(&self);
fn is_activatable(&self) -> bool;
fn child(&self) -> Option<Widget>;
fn header(&self) -> Option<Widget>;
fn index(&self) -> i32;
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_header(&self, header: Option<&impl IsA<Widget>>);
fn set_selectable(&self, selectable: bool);
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_activate(&self);
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_selectable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn is_activatable(&self) -> bool
source
fn is_selectable(&self) -> bool
source
fn is_selected(&self) -> bool
source
fn set_activatable(&self, activatable: bool)
source
fn set_header(&self, header: Option<&impl IsA<Widget>>)
source
fn set_selectable(&self, selectable: bool)
source
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn emit_activate(&self)
sourcefn connect_activatable_notify<F: Fn(&Self) + 'static>(
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
sourcefn connect_selectable_notify<F: Fn(&Self) + 'static>(