Learn R Programming

RGtk2 (version 2.20.31)

GtkColorSelection: GtkColorSelection

Description

A widget used to select a color

Arguments

Methods and Functions

gtkColorSelectionNew(show = TRUE) gtkColorSelectionSetUpdatePolicy(object, policy) gtkColorSelectionSetHasOpacityControl(object, has.opacity) gtkColorSelectionGetHasOpacityControl(object) gtkColorSelectionSetHasPalette(object, has.palette) gtkColorSelectionGetHasPalette(object) gtkColorSelectionGetCurrentAlpha(object) gtkColorSelectionSetCurrentAlpha(object, alpha) gtkColorSelectionGetCurrentColor(object) gtkColorSelectionSetCurrentColor(object, color) gtkColorSelectionGetPreviousAlpha(object) gtkColorSelectionSetPreviousAlpha(object, alpha) gtkColorSelectionGetPreviousColor(object, color) gtkColorSelectionSetPreviousColor(object, color) gtkColorSelectionIsAdjusting(object) gtkColorSelectionPaletteFromString(str) gtkColorSelectionPaletteToString(colors) gtkColorSelectionSetChangePaletteHook(func) gtkColorSelectionSetChangePaletteWithScreenHook(func) gtkColorSelectionSetColor(object, color) gtkColorSelectionGetColor(object) gtkColorSelection(show = TRUE)

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----GtkColorSelection

Interfaces

GtkColorSelection implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Detailed Description

The GtkColorSelection is a widget that is used to select a color. It consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the standard color selection dialog box GtkColorSelectionDialog.

Structures

Convenient Construction

gtkColorSelection is the equivalent of gtkColorSelectionNew.

User Functions

GtkColorSelectionChangePaletteFunc()
undocumented
GtkColorSelectionChangePaletteWithScreenFunc()
Since 2.2

Signals

Properties

current-alpha [numeric : Read / Write]
The current opacity value (0 fully transparent, 65535 fully opaque). Allowed values: <= 65535="" default value:="" <="" dd="">
current-color [GdkColor : * : Read / Write]
The current color.
has-opacity-control [logical : Read / Write]
Whether the color selector should allow setting opacity. Default value: FALSE
has-palette [logical : Read / Write]
Whether a palette should be used. Default value: FALSE

References

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