Trait gtk4::prelude::CheckButtonExt

source ·
pub trait CheckButtonExt: IsA<CheckButton> + Sealed + 'static {
Show 20 methods // Provided methods fn is_active(&self) -> bool { ... } fn child(&self) -> Option<Widget> { ... } fn is_inconsistent(&self) -> bool { ... } fn label(&self) -> Option<GString> { ... } fn uses_underline(&self) -> bool { ... } fn set_active(&self, setting: bool) { ... } fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... } fn set_group(&self, group: Option<&impl IsA<CheckButton>>) { ... } fn set_inconsistent(&self, inconsistent: bool) { ... } fn set_label(&self, label: Option<&str>) { ... } fn set_use_underline(&self, setting: bool) { ... } fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn emit_activate(&self) { ... } fn connect_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_active_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_child_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_group_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_inconsistent_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_use_underline_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn is_active(&self) -> bool

source

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

Available on crate feature v4_8 only.
source

fn is_inconsistent(&self) -> bool

source

fn label(&self) -> Option<GString>

source

fn uses_underline(&self) -> bool

source

fn set_active(&self, setting: bool)

source

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

Available on crate feature v4_8 only.
source

fn set_group(&self, group: Option<&impl IsA<CheckButton>>)

source

fn set_inconsistent(&self, inconsistent: bool)

source

fn set_label(&self, label: Option<&str>)

source

fn set_use_underline(&self, setting: bool)

source

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

Available on crate feature v4_2 only.
source

fn emit_activate(&self)

Available on crate feature v4_2 only.
source

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

source

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

source

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

Available on crate feature v4_8 only.
source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§