Trait gtk4::prelude::CheckButtonExt
source · pub trait CheckButtonExt: IsA<CheckButton> + Sealed + 'static {
Show 15 methods
// Provided methods
fn is_active(&self) -> bool { ... }
fn is_inconsistent(&self) -> bool { ... }
fn label(&self) -> Option<GString> { ... }
fn uses_underline(&self) -> bool { ... }
fn set_active(&self, setting: bool) { ... }
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_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_active_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§
fn is_active(&self) -> bool
fn is_inconsistent(&self) -> bool
fn label(&self) -> Option<GString>
fn uses_underline(&self) -> bool
fn set_active(&self, setting: bool)
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_toggled<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_active_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
Object Safety§
This trait is not object safe.