[][src]Trait gtk::ToolButtonExt

pub trait ToolButtonExt: 'static {
    fn get_icon_name(&self) -> Option<GString>;
fn get_icon_widget(&self) -> Option<Widget>;
fn get_label(&self) -> Option<GString>;
fn get_label_widget(&self) -> Option<Widget>;
fn get_use_underline(&self) -> bool;
fn set_icon_name<'a, P: Into<Option<&'a str>>>(&self, icon_name: P);
fn set_icon_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        icon_widget: Q
    );
fn set_label<'a, P: Into<Option<&'a str>>>(&self, label: P);
fn set_label_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        label_widget: Q
    );
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_property_icon_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_icon_widget_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_label_widget_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_use_underline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

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

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

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

fn get_use_underline(&self) -> bool

fn set_icon_name<'a, P: Into<Option<&'a str>>>(&self, icon_name: P)

fn set_icon_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    icon_widget: Q
)

fn set_label<'a, P: Into<Option<&'a str>>>(&self, label: P)

fn set_label_widget<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
    &self,
    label_widget: Q
)

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<ToolButton>> ToolButtonExt for O[src]

Loading content...