Learn R Programming

RGtk2 (version 2.12.17)

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, color) 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 and GtkBuildable.

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://developer.gnome.org/doc/API/2.0/gtk/GtkColorButton.html

See Also

GtkColorSelectionDialog GtkFontButton