Trait gtk::prelude::ButtonExt[][src]

pub trait ButtonExt: 'static {
Show methods fn clicked(&self);
fn must_always_show_image(&self) -> bool;
fn event_window(&self) -> Option<Window>;
fn gets_focus_on_click(&self) -> bool;
fn image(&self) -> Option<Widget>;
fn image_position(&self) -> PositionType;
fn label(&self) -> Option<GString>;
fn relief(&self) -> ReliefStyle;
fn uses_underline(&self) -> bool;
fn set_always_show_image(&self, always_show: bool);
fn set_focus_on_click(&self, focus_on_click: bool);
fn set_image<P: IsA<Widget>>(&self, image: Option<&P>);
fn set_image_position(&self, position: PositionType);
fn set_label(&self, label: &str);
fn set_relief(&self, relief: ReliefStyle);
fn set_use_underline(&self, use_underline: bool);
fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_activate(&self);
fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_clicked(&self);
fn connect_always_show_image_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_image_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_image_position_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_label_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_relief_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_use_underline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

This is supported on non-crate feature v3_20 only.
This is supported on non-crate feature v3_20 only.

Implementors