6 #include <gdkmmconfig.h>
9 #include <glibmm/ustring.h>
10 #include <sigc++/sigc++.h>
35 #include <glibmm/arrayhandle.h>
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
58 typedef Color CppObjectType;
104 explicit Color(
const Glib::ustring& value);
117 void set_rgb(gushort red_, gushort green_, gushort blue_);
124 void set_rgb_p(
double red_,
double green_,
double blue_);
137 bool set(
const Glib::ustring& value);
139 #ifndef GDKMM_DISABLE_DEPRECATED
144 bool parse(
const Glib::ustring& spec);
178 #ifndef GDKMM_DISABLE_DEPRECATED
226 #ifndef DOXYGEN_SHOULD_SKIP_THIS
235 static CType to_c_type (
const CppType& obj);
236 static CType to_c_type (
const CType& obj);
237 static CppType to_cpp_type (
const CType& obj);
238 static void release_c_type (
const CType&);
293 #ifndef DOXYGEN_SHOULD_SKIP_THIS
295 class Value<
Gdk::
Color> :
public Glib::Value_Boxed<Gdk::Color>
double get_blue_p() const
void set_rgb_p(double red_, double green_, double blue_)
Glib::ustring to_string() const
bool parse(const Glib::ustring &spec)
void set_rgb(gushort red_, gushort green_, gushort blue_)
bool operator!=(const Color &lhs, const Color &rhs)
Gdk::Color wrap(GdkColor *object, bool take_copy=false)
static GType get_type() G_GNUC_CONST
bool set(const Glib::ustring &value)
double get_green_p() const
bool operator==(const Color &lhs, const Color &rhs)
Color(const Glib::ustring &value)
void set_red(gushort value)
void set_grey_p(double g)
void rgb_find_color(const Glib::RefPtr< Gdk::Colormap > &map)
void set_hsv(double h, double s, double v)
void set_hsl(double h, double s, double l)
const GdkColor * gobj() const
Provides access to the underlying C instance.
void set_blue(gushort value)
gushort get_green() const
void set_grey(gushort value)
GdkColor * gobj_copy() const
Provides access to the underlying C instance. The caller is responsible for freeing it....
GdkColor * gobj()
Provides access to the underlying C instance.
void swap(Color &lhs, Color &rhs)
void set_green(gushort value)
Glib::ArrayHandle< Color, ColorTraits > ArrayHandle_Color