gtkColorButtonNew(show = TRUE)
gtkColorButtonNewWithColor(color, show = TRUE)
gtkColorButtonSetColor(object, color)
gtkColorButtonGetColor(object)
gtkColorButtonSetAlpha(object, alpha)
gtkColorButtonGetAlpha(object)
gtkColorButtonSetUseAlpha(object, use.alpha)
gtkColorButtonGetUseAlpha(object)
gtkColorButtonSetTitle(object, title)
gtkColorButtonGetTitle(object)
gtkColorButton(color, show = TRUE)
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkColorButton
GtkBuildable
and GtkActivatable
.GtkColorButton
is a button which displays the currently selected color
an allows to open a color selection dialog to change the color. It is suitable
widget for selecting a color in a preference dialog.gtkColorButton
is the result of collapsing the constructors of GtkColorButton
(gtkColorButtonNew
, gtkColorButtonNewWithColor
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.alpha
[numeric : Read / Write]color
[GdkColor
: * : Read / Write]title
[character : * : Read / Write]use-alpha
[logical : Read / Write]TRUE
, the color swatch on the button is rendered against a
checkerboard background to show its opacity and the opacity slider is displayed in the
color selection dialog.
Default value: FALSE Since 2.4 GtkColorSelectionDialog
GtkFontButton