pub trait ButtonExt: 'static {
Show 19 methods fn child(&self) -> Option<Widget>; fn has_frame(&self) -> bool; fn icon_name(&self) -> Option<GString>; fn label(&self) -> Option<GString>; fn uses_underline(&self) -> bool; fn set_child(&self, child: Option<&impl IsA<Widget>>); fn set_has_frame(&self, has_frame: bool); fn set_icon_name(&self, icon_name: &str); fn set_label(&self, label: &str); 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_child_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_has_frame_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_icon_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_label_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