Learn R Programming

RGtk2 (version 2.20.1)

GtkColorButton: GtkColorButton

Description

A button to launch a color selection dialog

Arguments

Methods and Functions

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)

Hierarchy

GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkColorButton

Interfaces

GtkColorButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Detailed Description

The 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.

Convenient Construction

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.

References

http://library.gnome.org/devel//gtk/GtkColorButton.html

See Also

GtkColorSelectionDialog GtkFontButton