ColorButton


Object Hierarchy:

Gtk.ColorButton Gtk.ColorButton Gtk.ColorButton Gtk.Button Gtk.Button Gtk.Button->Gtk.ColorButton Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.Button Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Gtk.ColorButton Atk.Implementor->Gtk.Button Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.ColorButton Gtk.Buildable->Gtk.Button Gtk.Buildable->Gtk.Bin Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget Gtk.Actionable Gtk.Actionable Gtk.Actionable->Gtk.ColorButton Gtk.Actionable->Gtk.Button Gtk.Activatable Gtk.Activatable Gtk.Activatable->Gtk.ColorButton Gtk.Activatable->Gtk.Button Gtk.ColorChooser Gtk.ColorChooser Gtk.ColorChooser->Gtk.ColorButton

Description:

[ CCode ( type_id = "gtk_color_button_get_type ()" ) ]
public class ColorButton : Button, Implementor, Actionable, Activatable, Buildable, ColorChooser

The ColorButton is a button which displays the currently selected color and allows to open a color selection dialog to change the color.

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

CSS nodes

GtkColorButton has a single CSS node with name button. To differentiate it from a plain Button , it gets the .color style class.

GtkColorButton


Namespace: Gtk
Package: gtk+-3.0

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.ColorChooser



2022 vala-language.org