GOffice.ComboColor¶
- Subclasses:
None
Methods¶
- Inherited:
GOffice.ComboBox (10), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
Name |
Short Description |
---|---|
Fields¶
Class Details¶
- class GOffice.ComboColor(*args, **kwargs)¶
- Bases:
- Abstract:
No
- classmethod new(icon, no_color_label, default_color, color_group)¶
- Parameters:
icon (
GdkPixbuf.Pixbuf
) – optionallyNone
.no_color_label (
str
) – FIXMEdefault_color (
int
) – The colour to use as the defaultcolor_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.
- 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.Pixbuf
orNone
) – new icon for the combo
Signal Details¶
- GOffice.ComboColor.signals.color_changed(combo_color, object, p0, p1, p2)¶
- 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 signalobject (
GObject.Object
) –