Trait 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

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§