Skip to main content

Variable: GtkColorDialogButton

const GtkColorDialogButton: "GtkColorDialogButton"

Defined in: generated/jsx.ts:14369

Opens a color chooser dialog to select a color.

An example GtkColorDialogButton

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

CSS nodes

colorbutton
╰── button.color
╰── [content]

GtkColorDialogButton has a single CSS node with name colorbutton which contains a button node. To differentiate it from a plain GtkButton, it gets the .color style class.