Go to the documentation of this file.
3 #ifndef _LIBGNOMEUIMM_COLOR_PICKER_H
4 #define _LIBGNOMEUIMM_COLOR_PICKER_H
34 #include <gtkmm/button.h>
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GnomeColorPicker GnomeColorPicker;
39 typedef 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
117 #endif //GLIBMM_VFUNCS_ENABLED
121 #ifdef GLIBMM_VFUNCS_ENABLED
122 #endif //GLIBMM_VFUNCS_ENABLED
125 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
127 #endif //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
183 #endif //#GLIBMM_PROPERTIES_ENABLED
185 #ifdef GLIBMM_PROPERTIES_ENABLED
193 #endif //#GLIBMM_PROPERTIES_ENABLED
195 #ifdef GLIBMM_PROPERTIES_ENABLED
203 #endif //#GLIBMM_PROPERTIES_ENABLED
205 #ifdef GLIBMM_PROPERTIES_ENABLED
213 #endif //#GLIBMM_PROPERTIES_ENABLED
215 #ifdef GLIBMM_PROPERTIES_ENABLED
223 #endif //#GLIBMM_PROPERTIES_ENABLED
225 #ifdef GLIBMM_PROPERTIES_ENABLED
233 #endif //#GLIBMM_PROPERTIES_ENABLED
235 #ifdef GLIBMM_PROPERTIES_ENABLED
243 #endif //#GLIBMM_PROPERTIES_ENABLED
245 #ifdef GLIBMM_PROPERTIES_ENABLED
253 #endif //#GLIBMM_PROPERTIES_ENABLED
255 #ifdef GLIBMM_PROPERTIES_ENABLED
263 #endif //#GLIBMM_PROPERTIES_ENABLED
265 #ifdef GLIBMM_PROPERTIES_ENABLED
273 #endif //#GLIBMM_PROPERTIES_ENABLED
275 #ifdef GLIBMM_PROPERTIES_ENABLED
283 #endif //#GLIBMM_PROPERTIES_ENABLED
285 #ifdef GLIBMM_PROPERTIES_ENABLED
293 #endif //#GLIBMM_PROPERTIES_ENABLED
295 #ifdef GLIBMM_PROPERTIES_ENABLED
303 #endif //#GLIBMM_PROPERTIES_ENABLED
305 #ifdef GLIBMM_PROPERTIES_ENABLED
313 #endif //#GLIBMM_PROPERTIES_ENABLED
318 #endif //GNOMEMM_DISABLE_DEPRECATED
void set(gushort r, gushort g, gushort b, gushort a)
const GnomeColorPicker * gobj() const
Provides access to the underlying C GtkObject.
Definition: color-picker.h:111
Glib::ustring get_title() const
GnomeColorPicker * gobj()
Provides access to the underlying C GtkObject.
Definition: color-picker.h:108
virtual void on_color_set(guint r, guint g, guint b, guint a)
void set_title(const Glib::ustring &title)
Glib::SignalProxy4< void, guint, guint, guint, guint > signal_color_set()
void get(guint8 &r, guint8 &g, guint8 &b, guint8 &a) const
bool get_use_alpha() const
Glib::PropertyProxy< Glib::ustring > property_title()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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< guint > property_alpha()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set(double r, double g, double b, double a)
Glib::PropertyProxy< bool > property_dither()
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.
void get(double &r, double &g, double &b, double &a) const
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< guint > property_green()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void set_dither(bool dither=true)
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.
Glib::PropertyProxy< guint > property_blue()
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::PropertyProxy_ReadOnly< guint > property_alpha() const
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)
void set_use_alpha(bool use_alpha=true)
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::PropertyProxy< guint > property_red()
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
void get(gushort &r, gushort &g, gushort &b, gushort &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.
Definition: color-picker.h:72