3#ifndef _LIBGNOMEUIMM_COLOR_PICKER_H
4#define _LIBGNOMEUIMM_COLOR_PICKER_H
34#include <gtkmm/button.h>
37#ifndef DOXYGEN_SHOULD_SKIP_THIS
38typedef struct _GnomeColorPicker GnomeColorPicker;
39typedef struct _GnomeColorPickerClass GnomeColorPickerClass;
47{
class ColorPicker_Class; }
56#ifndef GNOMEMM_DISABLE_DEPRECATED
74#ifndef DOXYGEN_SHOULD_SKIP_THIS
76 typedef ColorPicker_Class CppClassType;
77 typedef GnomeColorPicker BaseObjectType;
78 typedef GnomeColorPickerClass BaseClassType;
83#ifndef DOXYGEN_SHOULD_SKIP_THIS
86 friend class ColorPicker_Class;
87 static CppClassType colorpicker_class_;
94 explicit ColorPicker(
const Glib::ConstructParams& construct_params);
100#ifndef DOXYGEN_SHOULD_SKIP_THIS
101 static GType get_type() G_GNUC_CONST;
104 static GType get_base_type() G_GNUC_CONST;
108 GnomeColorPicker*
gobj() {
return reinterpret_cast<GnomeColorPicker*
>(gobject_); }
111 const GnomeColorPicker*
gobj()
const {
return reinterpret_cast<GnomeColorPicker*
>(gobject_); }
116#ifdef GLIBMM_VFUNCS_ENABLED
121#ifdef GLIBMM_VFUNCS_ENABLED
125#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
136 void set(
double r,
double g,
double b,
double a);
139 void set(guint8 r, guint8 g, guint8 b, guint8 a);
142 void set(gushort r, gushort g, gushort b, gushort a);
145 void get(
double& r,
double& g,
double& b,
double& a)
const;
147 void get(guint8& r, guint8& g, guint8& b, guint8& a)
const;
149 void get(gushort& r, gushort& g, gushort& b, gushort& a)
const;
175 #ifdef GLIBMM_PROPERTIES_ENABLED
185#ifdef GLIBMM_PROPERTIES_ENABLED
195 #ifdef GLIBMM_PROPERTIES_ENABLED
205#ifdef GLIBMM_PROPERTIES_ENABLED
215 #ifdef GLIBMM_PROPERTIES_ENABLED
225#ifdef GLIBMM_PROPERTIES_ENABLED
235 #ifdef GLIBMM_PROPERTIES_ENABLED
245#ifdef GLIBMM_PROPERTIES_ENABLED
255 #ifdef GLIBMM_PROPERTIES_ENABLED
265#ifdef GLIBMM_PROPERTIES_ENABLED
275 #ifdef GLIBMM_PROPERTIES_ENABLED
285#ifdef GLIBMM_PROPERTIES_ENABLED
295 #ifdef GLIBMM_PROPERTIES_ENABLED
305#ifdef GLIBMM_PROPERTIES_ENABLED
Definition: color-picker.h:72
void get(gushort &r, gushort &g, gushort &b, gushort &a) const
void set(double r, double g, double b, double a)
Glib::PropertyProxy< bool > property_use_alpha()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< guint > property_blue() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< guint > property_alpha() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
const GnomeColorPicker * gobj() const
Provides access to the underlying C GtkObject.
Definition: color-picker.h:111
void get(double &r, double &g, double &b, double &a) const
Glib::PropertyProxy_ReadOnly< bool > property_use_alpha() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
GnomeColorPicker * gobj()
Provides access to the underlying C GtkObject.
Definition: color-picker.h:108
bool get_use_alpha() const
Glib::PropertyProxy< bool > property_dither()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void get(guint8 &r, guint8 &g, guint8 &b, guint8 &a) const
virtual void on_color_set(guint r, guint g, guint b, guint a)
Glib::PropertyProxy_ReadOnly< guint > property_green() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::SignalProxy4< void, guint, guint, guint, guint > signal_color_set()
Glib::PropertyProxy< guint > property_blue()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_use_alpha(bool use_alpha=true)
Glib::PropertyProxy< Glib::ustring > property_title()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Gnome::UI::ColorPicker * wrap(GnomeColorPicker *object, bool take_copy=false)
A Glib::wrap() method for this object.
void set(guint8 r, guint8 g, guint8 b, guint8 a)
Glib::PropertyProxy< guint > property_green()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< guint > property_red()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_title() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set(gushort r, gushort g, gushort b, gushort a)
void set_title(const Glib::ustring &title)
void set_dither(bool dither=true)
Glib::PropertyProxy_ReadOnly< bool > property_dither() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< guint > property_red() const
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::ustring get_title() const
Glib::PropertyProxy< guint > property_alpha()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.