Class Index | Cross Index | Namespace Index |
Button used to Select Colors
Contained in: Gnome
Derived from:
Gtk::Button
Derived by:
none
#include <gtk--/color-picker.h>
public function member index: |
||
ColorPicker | (); | |
void | get | (gdouble& r, gdouble& g, gdouble& b, gdouble& a) const; |
void | get | (guint8& r, guint8& g, guint8& b, guint8& a) const; |
void | get | (gushort& r, gushort& g, gushort& b, gushort& a) const; |
static GtkType | get_type | (); |
GnomeColorPicker* | gtkobj | (); |
const GnomeColorPicker* | gtkobj | () const; |
static bool | isA | (Gtk::Object* checkcast); |
void | set | (gdouble r, gdouble g, gdouble b, gdouble a); |
void | set | (guint8 r, guint8 g, guint8 b, guint8 a); |
void | set | (gushort r, gushort g, gushort b, gushort a); |
void | set_dither | (gboolean dither=true); |
void | set_title | (const Gtk::string& title); |
void | set_use_alpha | (gboolean use_alpha=true); |
virtual | ~ColorPicker | (); |
protected function member index: |
||
explicit | ColorPicker | (GnomeColorPicker* castitem); |
virtual void | color_set_impl | (guint p0, guint p1, guint p2, guint p3); |
void | initialize_class | (); |
private function member index: |
||
ColorPicker | (const ColorPicker&); | |
ColorPicker& | operator = | (const ColorPicker&); |
You can select the color to be displayed in a number of ways:
floating point values for the red, green and blue channels,
integers in the range 0 to 65,535, or integers in the range 0 to
255, depending on your needs.