Trait gtk::prelude::ToolButtonExt[][src]

pub trait ToolButtonExt: 'static {
Show 17 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<P: IsA<Widget>>(&self, icon_widget: Option<&P>);
fn set_label(&self, label: Option<&str>);
fn set_label_widget<P: IsA<Widget>>(&self, label_widget: Option<&P>);
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;
}

Required methods

Implementors