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;
152 void set_dither(
bool dither =
true);
154 bool get_dither()
const;
157 void set_use_alpha(
bool use_alpha =
true);
159 bool get_use_alpha()
const;
162 void set_title(
const Glib::ustring& title);
164 Glib::ustring get_title()
const;
172 Glib::SignalProxy4< void,guint,guint,guint,guint > signal_color_set();
175 #ifdef GLIBMM_PROPERTIES_ENABLED 182 Glib::PropertyProxy<bool> property_dither() ;
183 #endif //#GLIBMM_PROPERTIES_ENABLED 185 #ifdef GLIBMM_PROPERTIES_ENABLED 192 Glib::PropertyProxy_ReadOnly<bool> property_dither()
const;
193 #endif //#GLIBMM_PROPERTIES_ENABLED 195 #ifdef GLIBMM_PROPERTIES_ENABLED 202 Glib::PropertyProxy<bool> property_use_alpha() ;
203 #endif //#GLIBMM_PROPERTIES_ENABLED 205 #ifdef GLIBMM_PROPERTIES_ENABLED 212 Glib::PropertyProxy_ReadOnly<bool> property_use_alpha()
const;
213 #endif //#GLIBMM_PROPERTIES_ENABLED 215 #ifdef GLIBMM_PROPERTIES_ENABLED 222 Glib::PropertyProxy<Glib::ustring> property_title() ;
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 242 Glib::PropertyProxy<guint> property_red() ;
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 262 Glib::PropertyProxy<guint> property_green() ;
263 #endif //#GLIBMM_PROPERTIES_ENABLED 265 #ifdef GLIBMM_PROPERTIES_ENABLED 272 Glib::PropertyProxy_ReadOnly<guint> property_green()
const;
273 #endif //#GLIBMM_PROPERTIES_ENABLED 275 #ifdef GLIBMM_PROPERTIES_ENABLED 282 Glib::PropertyProxy<guint> property_blue() ;
283 #endif //#GLIBMM_PROPERTIES_ENABLED 285 #ifdef GLIBMM_PROPERTIES_ENABLED 292 Glib::PropertyProxy_ReadOnly<guint> property_blue()
const;
293 #endif //#GLIBMM_PROPERTIES_ENABLED 295 #ifdef GLIBMM_PROPERTIES_ENABLED 302 Glib::PropertyProxy<guint> property_alpha() ;
303 #endif //#GLIBMM_PROPERTIES_ENABLED 305 #ifdef GLIBMM_PROPERTIES_ENABLED 312 Glib::PropertyProxy_ReadOnly<guint> property_alpha()
const;
313 #endif //#GLIBMM_PROPERTIES_ENABLED 318 #endif //GNOMEMM_DISABLE_DEPRECATED const GnomeColorPicker * gobj() const
Provides access to the underlying C GtkObject.
Definition: color-picker.h:111
Definition: color-picker.h:71
GnomeColorPicker * gobj()
Provides access to the underlying C GtkObject.
Definition: color-picker.h:108