GtkColorDialogButton

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.

An example GtkColorDialogButton

It is suitable widget for selecting a color in a preference dialog.

CSS nodes

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.

struct GtkColorDialogButton