Class: GOffice::ComboColor
Instance Method Summary collapse
-
#allow_alpha=(allow_alpha) ⇒ nil
Should the custom colour selector allow the use of opacity.
- #color=(color) ⇒ nil
-
#color_gdk=(color) ⇒ nil
Set the color of the combo to the given color.
- #get_color(is_default) ⇒ GOffice::Color
- #icon=(icon) ⇒ nil
-
#initialize(icon, no_color_label, default_color, color_group) ⇒ Gtk::Widget
constructor
Default constructor.
-
#instant_apply=(active) ⇒ nil
Turn instant apply behaviour on or off.
-
#set_color_to_default ⇒ nil
Set the color of the combo to the default color.
Methods inherited from ComboBox
#construct, #display=, #get_pos, #popup_display, #popup_hide, #relief=, #set_tooltip, #show_arrow=, #show_arrow?, #tearable=, #title, #title=
Constructor Details
#initialize(icon, no_color_label, default_color, color_group) ⇒ Gtk::Widget
Default constructor. Pass an optional icon and an optional label for the no/auto color button.
Instance Method Details
#allow_alpha=(allow_alpha) ⇒ nil
Should the custom colour selector allow the use of opacity.
#color=(color) ⇒ nil
#color_gdk=(color) ⇒ nil
Set the color of the combo to the given color. Causes the color_changed signal to be emitted.
#get_color(is_default) ⇒ GOffice::Color
#icon=(icon) ⇒ nil
#instant_apply=(active) ⇒ nil
Turn instant apply behaviour on or off. Instant apply means that pressing the button applies the current color. When off, pressing the button opens the combo.
#set_color_to_default ⇒ nil
Set the color of the combo to the default color. Causes the color_changed signal to be emitted.