pub trait ToolButtonExt: IsA<ToolButton> + Sealed + 'static {
Show 17 methods // Provided methods fn icon_name(&self) -> Option<GString> { ... } fn icon_widget(&self) -> Option<Widget> { ... } fn label(&self) -> Option<GString> { ... } fn label_widget(&self) -> Option<Widget> { ... } fn uses_underline(&self) -> bool { ... } fn set_icon_name(&self, icon_name: Option<&str>) { ... } fn set_icon_widget(&self, icon_widget: Option<&impl IsA<Widget>>) { ... } fn set_label(&self, label: Option<&str>) { ... } fn set_label_widget(&self, label_widget: Option<&impl IsA<Widget>>) { ... } fn set_use_underline(&self, use_underline: bool) { ... } fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn emit_clicked(&self) { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_icon_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_label_widget_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 icon_name(&self) -> Option<GString>

source

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

source

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

source

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

source

fn uses_underline(&self) -> bool

source

fn set_icon_name(&self, icon_name: Option<&str>)

source

fn set_icon_widget(&self, icon_widget: Option<&impl IsA<Widget>>)

source

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

source

fn set_label_widget(&self, label_widget: Option<&impl IsA<Widget>>)

source

fn set_use_underline(&self, use_underline: bool)

source

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

source

fn emit_clicked(&self)

source

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

source

fn connect_icon_widget_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_label_widget_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

Implementors§