Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Gnome::UI::ColorPicker Class Reference

#include <color-picker.h>

Inheritance diagram for Gnome::UI::ColorPicker:

Gtk::Button Gtk::Bin Gtk::Container Gtk::Widget Gtk::Object Atk::Implementor Glib::Object Glib::Interface Glib::ObjectBase Glib::ObjectBase sigc::trackable sigc::trackable 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 ()
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_ReadOnly<
bool > 
property_dither () const
 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_ReadOnly<
bool > 
property_use_alpha () const
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::ustringproperty_title ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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.
Glib::PropertyProxy< guint > property_red ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.
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.
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_ReadOnly<
guint > 
property_green () const
 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.
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.
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_ReadOnly<
guint > 
property_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)

Constructor & Destructor Documentation

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

Gnome::UI::ColorPicker::ColorPicker  ) 
 


Member Function Documentation

void Gnome::UI::ColorPicker::get gushort &  r,
gushort &  g,
gushort &  b,
gushort &  a
const
 

void Gnome::UI::ColorPicker::get guint8 &  r,
guint8 &  g,
guint8 &  b,
guint8 &  a
const
 

void Gnome::UI::ColorPicker::get double &  r,
double &  g,
double &  b,
double &  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
 

const GnomeColorPicker* Gnome::UI::ColorPicker::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Button.

GnomeColorPicker* Gnome::UI::ColorPicker::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Button.

virtual void Gnome::UI::ColorPicker::on_color_set guint  r,
guint  g,
guint  b,
guint  a
[protected, virtual]
 

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

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.

void Gnome::UI::ColorPicker::set gushort  r,
gushort  g,
gushort  b,
gushort  a
 

void Gnome::UI::ColorPicker::set guint8  r,
guint8  g,
guint8  b,
guint8  a
 

void Gnome::UI::ColorPicker::set double  r,
double  g,
double  b,
double  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  ) 
 


Friends And Related Function Documentation

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

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 Feb 3 05:28:43 2005 for libgnomeuimm by  doxygen 1.4.1