ColorDialogButton
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_color_dialog_button_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class ColorDialogButton : Widget, Accessible, Buildable, ConstraintTarget
[ Version ( since = "4.10" ) ]
public sealed class ColorDialogButton : Widget, Accessible, Buildable, ConstraintTarget
The `GtkColorDialogButton` is a wrapped around a [class@Gtk.
ColorDialog] and allows to open a color chooser dialog to change the color.
![An example GtkColorDialogButton](color-button.png)
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.
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable