ColorChooserDialog#
Deprecated since version 4.10: Use ColorDialog
instead
- class ColorChooserDialog(*args, **kwargs)#
Superclasses: Dialog
, Window
, Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ColorChooser
, ConstraintTarget
, Native
, Root
, ShortcutManager
A dialog for choosing a color.
GtkColorChooserDialog
implements the ColorChooser
interface
and does not provide much API of its own.
To create a GtkColorChooserDialog
, use new
.
To change the initially selected color, use
set_rgba
. To get the selected color use
get_rgba
.
GtkColorChooserDialog
has been deprecated in favor of ColorDialog
.
CSS nodes#
GtkColorChooserDialog
has a single CSS node with the name window
and style
class .colorchooser
.