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 126 virtual void on_color_set(guint r, guint g, guint b, guint a);
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;
162 void set_title(
const Glib::ustring& title);
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 232 Glib::PropertyProxy_ReadOnly<Glib::ustring>
property_title()
const;
233 #endif //#GLIBMM_PROPERTIES_ENABLED 235 #ifdef GLIBMM_PROPERTIES_ENABLED 243 #endif //#GLIBMM_PROPERTIES_ENABLED 245 #ifdef GLIBMM_PROPERTIES_ENABLED 252 Glib::PropertyProxy_ReadOnly<guint>
property_red()
const;
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 Glib::ustring get_title() const
Glib::SignalProxy4< void, guint, guint, guint, guint > signal_color_set()
const GnomeColorPicker * gobj() const
Provides access to the underlying C GtkObject.
Definition: color-picker.h:111
void set_title(const Glib::ustring &title)
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< 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_alpha()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
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< 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_blue()
You rarely need to use properties because there are get_ and set_ methods for almost all of them...
void set_dither(bool dither=true)
Definition: color-picker.h:71
bool get_use_alpha() const
void set_use_alpha(bool use_alpha=true)
Glib::PropertyProxy< guint > property_red()
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
virtual void on_color_set(guint r, guint g, guint b, guint a)