pub trait ColorButtonExt: 'static {
// Required methods
fn title(&self) -> Option<GString>;
fn set_title(&self, title: &str);
fn alpha(&self) -> u32;
fn set_alpha(&self, alpha: u32);
fn shows_editor(&self) -> bool;
fn set_show_editor(&self, show_editor: bool);
fn connect_color_set<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_alpha_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_show_editor_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}