Gtk.ColorChooserWidget¶
- Subclasses:
 None
Methods¶
- Inherited:
 Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2), Gtk.ColorChooser (5)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class  | 
  | 
Virtual Methods¶
Properties¶
- Inherited:
 Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1), Gtk.ColorChooser (2)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
Show editor  | 
Child Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Gtk.ColorChooserWidget(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
The
Gtk.ColorChooserWidgetwidget lets the user select a color. By default, the chooser presents a predefined palette of colors, plus a small number of settable custom colors. It is also possible to select a different color with the single-color editor. To enter the single-color editing mode, use the context menu of any color of the palette, or use the ‘+’ button to add a new custom color.The chooser automatically remembers the last selection, as well as custom colors.
To change the initially selected color, use
Gtk.ColorChooser.set_rgba(). To get the selected color useGtk.ColorChooser.get_rgba().The
Gtk.ColorChooserWidgetis used in theGtk.ColorChooserDialogto provide a dialog for selecting colors.- CSS names
 
Gtk.ColorChooserWidgethas a single CSS node with name colorchooser.New in version 3.4.
- classmethod new()[source]¶
 - Returns:
 a new
Gtk.ColorChooserWidget- Return type:
 
Creates a new
Gtk.ColorChooserWidget.New in version 3.4.