GOffice.ComboColor¶
| Subclasses: | None | 
|---|
Methods¶
| class | new(icon, no_color_label, default_color, color_group) | 
| get_color(is_default) | |
| set_allow_alpha(allow_alpha) | |
| set_color(color) | |
| set_color_gdk(color) | |
| set_color_to_default() | |
| set_icon(icon) | |
| set_instant_apply(active) | 
Virtual Methods¶
| Inherited: | GOffice.ComboBox (2), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10) | 
|---|
Properties¶
| Inherited: | GOffice.ComboBox (2), Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1) | 
|---|
Child Properties¶
| Inherited: | Gtk.Box (5) | 
|---|
Style Properties¶
| Inherited: | GOffice.ComboBox (1), Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | GOffice.ComboBox (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Short Description | 
|---|---|
| color-changed | |
| display-custom-dialog | 
Fields¶
| Inherited: | GOffice.ComboBox (1), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
Class Details¶
- 
class GOffice.ComboColor(*args, **kwargs)¶
- Bases: - GOffice.ComboBox- Abstract: - No - 
classmethod new(icon, no_color_label, default_color, color_group)¶
- Parameters: - icon (GdkPixbuf.Pixbuf) – optionallyNone.
- no_color_label (str) – FIXME
- default_color (int) – The colour to use as the default
- color_group (GOffice.ColorGroup) –GOffice.ColorGroup
 - Returns: - The newly constructed combo. - Return type: - Default constructor. Pass an optional icon and an optional label for the no/auto color button. 
- icon (
 - 
set_allow_alpha(allow_alpha)¶
- Parameters: - allow_alpha ( - bool) – Support alpha layer- Should the custom colour selector allow the use of opacity. 
 - 
set_color_gdk(color)¶
- Parameters: - color ( - Gdk.RGBA) – The color- Set the color of the combo to the given color. Causes the color_changed signal to be emitted. 
 - 
set_color_to_default()¶
- Set the color of the combo to the default color. Causes the color_changed signal to be emitted. 
 - 
set_icon(icon)¶
- Parameters: - icon ( - GdkPixbuf.Pixbufor- None) – new icon for the combo
 
- 
classmethod 
Signal Details¶
- 
GOffice.ComboColor.signals.color_changed(combo_color, object, p0, p1, p2)¶
- Signal Name: - color-changed- Flags: - Parameters: - combo_color (GOffice.ComboColor) – The object which received the signal
- object (int) –
- p0 (bool) –
- p1 (bool) –
- p2 (bool) –
 
- combo_color (
- 
GOffice.ComboColor.signals.display_custom_dialog(combo_color, object)¶
- Signal Name: - display-custom-dialog- Flags: - Parameters: - combo_color (GOffice.ComboColor) – The object which received the signal
- object (GObject.Object) –
 
- combo_color (