libgnomeuimm  2.28.0
Public Member Functions | Protected Member Functions | Related Functions | List of all members
Gnome::UI::ColorPicker Class Reference

#include <color-picker.h>

Inheritance diagram for Gnome::UI::ColorPicker:

Public Member Functions

virtual ~ColorPicker ()
 
GnomeColorPicker * gobj ()
 Provides access to the underlying C GtkObject. More...
 
const GnomeColorPicker * gobj () const
 Provides access to the underlying C GtkObject. More...
 
 ColorPicker ()
 
void set (double r, double g, double b, double a)
 
void set (guint8 r, guint8 g, guint8 b, guint8 a)
 
void set (gushort r, gushort g, gushort b, gushort a)
 
void get (double &r, double &g, double &b, double &a) const
 
void get (guint8 &r, guint8 &g, guint8 &b, guint8 &a) const
 
void get (gushort &r, gushort &g, gushort &b, gushort &a) const
 
void set_dither (bool dither=true)
 
bool get_dither () const
 
void set_use_alpha (bool use_alpha=true)
 
bool get_use_alpha () const
 
void set_title (const Glib::ustring &title)
 
Glib::ustring get_title () const
 
Glib::SignalProxy4< void, guint, guint, guint, guint > signal_color_set ()
 
Glib::PropertyProxy< bool > property_dither ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy< bool > property_use_alpha ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy< Glib::ustring > property_title ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy< guint > property_red ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy< guint > property_green ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy< guint > property_blue ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 
Glib::PropertyProxy< guint > property_alpha ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them. More...
 
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. More...
 

Protected Member Functions

virtual void on_color_set (guint r, guint g, guint b, guint a)
 

Related Functions

(Note that these are not member functions.)

Gnome::UI::ColorPickerwrap (GnomeColorPicker *object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Constructor & Destructor Documentation

virtual Gnome::UI::ColorPicker::~ColorPicker ( )
virtual
Gnome::UI::ColorPicker::ColorPicker ( )

Member Function Documentation

void Gnome::UI::ColorPicker::get ( double &  r,
double &  g,
double &  b,
double &  a 
) const
void Gnome::UI::ColorPicker::get ( guint8 &  r,
guint8 &  g,
guint8 &  b,
guint8 &  a 
) const
void Gnome::UI::ColorPicker::get ( gushort &  r,
gushort &  g,
gushort &  b,
gushort &  a 
) const
bool Gnome::UI::ColorPicker::get_dither ( ) const
Glib::ustring Gnome::UI::ColorPicker::get_title ( ) const
bool Gnome::UI::ColorPicker::get_use_alpha ( ) const
GnomeColorPicker* Gnome::UI::ColorPicker::gobj ( )
inline

Provides access to the underlying C GtkObject.

const GnomeColorPicker* Gnome::UI::ColorPicker::gobj ( ) const
inline

Provides access to the underlying C GtkObject.

virtual void Gnome::UI::ColorPicker::on_color_set ( guint  r,
guint  g,
guint  b,
guint  a 
)
protectedvirtual
Glib::PropertyProxy<guint> Gnome::UI::ColorPicker::property_alpha ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<guint> Gnome::UI::ColorPicker::property_alpha ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy<guint> Gnome::UI::ColorPicker::property_blue ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<guint> Gnome::UI::ColorPicker::property_blue ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy<bool> Gnome::UI::ColorPicker::property_dither ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<bool> Gnome::UI::ColorPicker::property_dither ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy<guint> Gnome::UI::ColorPicker::property_green ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<guint> Gnome::UI::ColorPicker::property_green ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy<guint> Gnome::UI::ColorPicker::property_red ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<guint> Gnome::UI::ColorPicker::property_red ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy<Glib::ustring> Gnome::UI::ColorPicker::property_title ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::UI::ColorPicker::property_title ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy<bool> Gnome::UI::ColorPicker::property_use_alpha ( )

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
Glib::PropertyProxy_ReadOnly<bool> Gnome::UI::ColorPicker::property_use_alpha ( ) const

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.
void Gnome::UI::ColorPicker::set ( double  r,
double  g,
double  b,
double  a 
)
void Gnome::UI::ColorPicker::set ( guint8  r,
guint8  g,
guint8  b,
guint8  a 
)
void Gnome::UI::ColorPicker::set ( gushort  r,
gushort  g,
gushort  b,
gushort  a 
)
void Gnome::UI::ColorPicker::set_dither ( bool  dither = true)
void Gnome::UI::ColorPicker::set_title ( const Glib::ustring &  title)
void Gnome::UI::ColorPicker::set_use_alpha ( bool  use_alpha = true)
Glib::SignalProxy4< void,guint,guint,guint,guint > Gnome::UI::ColorPicker::signal_color_set ( )
Prototype:
void on_my_color_set(guint r, guint g, guint b, guint a)

Friends And Related Function Documentation

Gnome::UI::ColorPicker * wrap ( GnomeColorPicker *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file: