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

◆ ~ColorPicker()

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

◆ ColorPicker()

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

Member Function Documentation

◆ get() [1/3]

void Gnome::UI::ColorPicker::get ( double &  r,
double &  g,
double &  b,
double &  a 
) const

◆ get() [2/3]

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

◆ get() [3/3]

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

◆ get_dither()

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

◆ get_title()

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

◆ get_use_alpha()

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

◆ gobj() [1/2]

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

Provides access to the underlying C GtkObject.

◆ gobj() [2/2]

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

Provides access to the underlying C GtkObject.

◆ on_color_set()

virtual void Gnome::UI::ColorPicker::on_color_set ( guint  r,
guint  g,
guint  b,
guint  a 
)
protectedvirtual

◆ property_alpha() [1/2]

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.

◆ property_alpha() [2/2]

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.

◆ property_blue() [1/2]

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.

◆ property_blue() [2/2]

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.

◆ property_dither() [1/2]

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.

◆ property_dither() [2/2]

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.

◆ property_green() [1/2]

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.

◆ property_green() [2/2]

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.

◆ property_red() [1/2]

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.

◆ property_red() [2/2]

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.

◆ property_title() [1/2]

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.

◆ property_title() [2/2]

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.

◆ property_use_alpha() [1/2]

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.

◆ property_use_alpha() [2/2]

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.

◆ set() [1/3]

void Gnome::UI::ColorPicker::set ( double  r,
double  g,
double  b,
double  a 
)

◆ set() [2/3]

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

◆ set() [3/3]

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

◆ set_dither()

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

◆ set_title()

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

◆ set_use_alpha()

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

◆ signal_color_set()

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

◆ wrap()

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: