Gtk.ColorDialogButton (original) (raw)

Class

GtkColorDialogButton

since: 4.10

Description [src]

final class Gtk.ColorDialogButton : Gtk.Widget
  implements Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
  /* No available fields */
}

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.

Available since: 4.10

Constructors

Instance methods

gtk_color_dialog_button_set_dialog

Sets a GtkColorDialog object to use for creating the color chooser dialog that is presented when the user clicks the button.

since: 4.10

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GtkColorDialogButtonClass {
  GtkWidgetClass parent_class;
  
}

No description available.

Class members

parent_class: GtkWidgetClass

No description available.