Trait gtk::ToolButtonExt [] [src]

pub trait ToolButtonExt {
    fn get_icon_name(&self) -> Option<String>;
    fn get_icon_widget(&self) -> Option<Widget>;
    fn get_label(&self) -> Option<String>;
    fn get_label_widget(&self) -> Option<Widget>;
    fn get_stock_id(&self) -> Option<String>;
    fn get_use_underline(&self) -> bool;
    fn set_icon_name<'a, T: Into<Option<&'a str>>>(&self, icon_name: T);
    fn set_icon_widget<T: IsA<Widget>>(&self, icon_widget: Option<&T>);
    fn set_label<'a, T: Into<Option<&'a str>>>(&self, label: T);
    fn set_label_widget<T: IsA<Widget>>(&self, label_widget: Option<&T>);
    fn set_stock_id<'a, T: Into<Option<&'a str>>>(&self, stock_id: T);
    fn set_use_underline(&self, use_underline: bool);
    fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
}

Required Methods

Implementors