The gtk.color_dialog_button.ColorDialogButton is a wrapped around a gtk.color_dialog.ColorDialog and allows to open a color chooser dialog to change the color.
It is suitable widget for selecting a color in a preference dialog.
colorbutton ╰── button.color ╰── [content]
gtk.color_dialog_button.ColorDialogButton has a single CSS node with name colorbutton which contains a button node. To differentiate it from a plain gtk.button.Button, it gets the .color style class.
The gtk.color_dialog_button.ColorDialogButton is a wrapped around a gtk.color_dialog.ColorDialog and allows to open a color chooser dialog to change the color.
It is suitable widget for selecting a color in a preference dialog.
CSS nodes
gtk.color_dialog_button.ColorDialogButton has a single CSS node with name colorbutton which contains a button node. To differentiate it from a plain gtk.button.Button, it gets the .color style class.