Gnome::UI::ColorPicker Class Reference

#include <color-picker.h>

Inheritance diagram for Gnome::UI::ColorPicker:
[legend]

List of all members.

Public Member Functions

virtual ~ColorPicker ()
GnomeColorPicker * gobj ()
 Provides access to the underlying C GtkObject.
const GnomeColorPicker * gobj () const
 Provides access to the underlying C GtkObject.
 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 ()
 
Prototype:
void on_my_color_set(guint r, guint g, guint b, guint a)

Glib::PropertyProxy
< bool > 
_dither ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< bool > 
_dither () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< bool > 
_use_alpha ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< bool > 
_use_alpha () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< Glib::ustring > 
_title ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< Glib::ustring > 
_title () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< guint > 
_red ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< guint > 
_red () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< guint > 
_green ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< guint > 
_green () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< guint > 
_blue ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< guint > 
_blue () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy
< guint > 
_alpha ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly
< guint > 
_alpha () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

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.


Constructor & Destructor Documentation

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

Gnome::UI::ColorPicker::ColorPicker (  ) 


Member Function Documentation

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 
) [protected, virtual]

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::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

void Gnome::UI::ColorPicker::set_dither ( bool  dither = true  ) 

bool Gnome::UI::ColorPicker::get_dither (  )  const

void Gnome::UI::ColorPicker::set_use_alpha ( bool  use_alpha = true  ) 

bool Gnome::UI::ColorPicker::get_use_alpha (  )  const

void Gnome::UI::ColorPicker::set_title ( const Glib::ustring &  title  ) 

Glib::ustring Gnome::UI::ColorPicker::get_title (  )  const

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)

Glib::PropertyProxy<bool> Gnome::UI::ColorPicker::_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::_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<bool> Gnome::UI::ColorPicker::_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::_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.

Glib::PropertyProxy<Glib::ustring> Gnome::UI::ColorPicker::_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::_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<guint> Gnome::UI::ColorPicker::_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::_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<guint> Gnome::UI::ColorPicker::_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::_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::_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::_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<guint> Gnome::UI::ColorPicker::_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::_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.


Friends And Related Function Documentation

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

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

Parameters:
object The C instance.
take_copy False 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:
Generated on Thu Sep 20 12:00:52 2007 for libgnomeuimm by  doxygen 1.5.3