Trait gtk::prelude::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, 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_stock_id<'a, P: Into<Option<&'a str>>>(&self, stock_id: P); fn set_use_underline(&self, use_underline: bool); fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors