logo top
Main Page   Widgets   Namespaces   Book  

Gtk::ColorSelection Class Reference
[Widgets]

A widget used to select a color. More...

Inheritance diagram for Gtk::ColorSelection:

Inheritance graph
[legend]
List of all members.

Public Types

typedef SigC::Slot2< void,
const Glib::RefPtr<Gdk::Screen>&,
const Gdk::ArrayHandle_Color& > 
SlotChangePaletteHook

Public Member Functions

virtual ~ColorSelection ()
GtkColorSelection* gobj ()
 Provides access to the underlying C GtkObject.

const GtkColorSelection* gobj () const
 Provides access to the underlying C GtkObject.

 ColorSelection ()
bool get_has_opacity_control () const
void set_has_opacity_control (bool has_opacity=true)
bool get_has_palette () const
void set_has_palette (bool has_palette=true)
void set_current_color (const Gdk::Color& color)
void set_current_alpha (guint16 alpha)
Gdk::Color get_current_color () const
guint16 get_current_alpha () const
void set_previous_color (const Gdk::Color& color)
void set_previous_alpha (guint16 alpha)
Gdk::Color get_previous_color () const
guint16 get_previous_alpha () const
bool is_adjusting () const
Glib::SignalProxy0<void> signal_color_changed ()
Glib::PropertyProxy<bool> property_has_palette ()
Glib::PropertyProxy<bool> property_has_opacity_control ()
Glib::PropertyProxy<Gdk::Colorproperty_current_color ()
Glib::PropertyProxy<guint> property_current_alpha ()

Static Public Member Functions

Gdk::ArrayHandle_Color palette_from_string (const Glib::ustring& str)
Glib::ustring palette_to_string (const Gdk::ArrayHandle_Color& colors)
SlotChangePaletteHook set_change_palette_hook (const SlotChangePaletteHook& slot)

Protected Member Functions

virtual void on_color_changed ()

Related Functions

(Note that these are not member functions.)

Gtk::ColorSelectionwrap (GtkColorSelection* object, bool take_copy=false)

Detailed Description

A widget used to select a color.

This widget is used to select a color. It consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity.

It is found on the standard color selection dialog box Gtk::ColorSelectionDialog.


Member Typedef Documentation

typedef SigC::Slot2<void, const Glib::RefPtr<Gdk::Screen>&, const Gdk::ArrayHandle_Color&> Gtk::ColorSelection::SlotChangePaletteHook
 


Constructor & Destructor Documentation

virtual Gtk::ColorSelection::~ColorSelection (  )  [virtual]
 

Gtk::ColorSelection::ColorSelection (  ) 
 


Member Function Documentation

guint16 Gtk::ColorSelection::get_current_alpha (  )  const
 

Gdk::Color Gtk::ColorSelection::get_current_color (  )  const
 

bool Gtk::ColorSelection::get_has_opacity_control (  )  const
 

bool Gtk::ColorSelection::get_has_palette (  )  const
 

guint16 Gtk::ColorSelection::get_previous_alpha (  )  const
 

Gdk::Color Gtk::ColorSelection::get_previous_color (  )  const
 

const GtkColorSelection* Gtk::ColorSelection::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

GtkColorSelection* Gtk::ColorSelection::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::VBox.

bool Gtk::ColorSelection::is_adjusting (  )  const
 

virtual void Gtk::ColorSelection::on_color_changed (  )  [protected, virtual]
 

Gdk::ArrayHandle_Color Gtk::ColorSelection::palette_from_string ( const Glib::ustring&  str  )  [static]
 

Glib::ustring Gtk::ColorSelection::palette_to_string ( const Gdk::ArrayHandle_Color colors  )  [static]
 

Glib::PropertyProxy<guint> Gtk::ColorSelection::property_current_alpha (  ) 
 

Glib::PropertyProxy<Gdk::Color> Gtk::ColorSelection::property_current_color (  ) 
 

Glib::PropertyProxy<bool> Gtk::ColorSelection::property_has_opacity_control (  ) 
 

Glib::PropertyProxy<bool> Gtk::ColorSelection::property_has_palette (  ) 
 

SlotChangePaletteHook Gtk::ColorSelection::set_change_palette_hook ( const SlotChangePaletteHook slot  )  [static]
 

void Gtk::ColorSelection::set_current_alpha ( guint16  alpha  ) 
 

void Gtk::ColorSelection::set_current_color ( const Gdk::Color color  ) 
 

void Gtk::ColorSelection::set_has_opacity_control ( bool  has_opacity = true  ) 
 

void Gtk::ColorSelection::set_has_palette ( bool  has_palette = true  ) 
 

void Gtk::ColorSelection::set_previous_alpha ( guint16  alpha  ) 
 

void Gtk::ColorSelection::set_previous_color ( const Gdk::Color color  ) 
 

Glib::SignalProxy0<void> Gtk::ColorSelection::signal_color_changed (  ) 
 

Prototype:
void color_changed()


Friends And Related Function Documentation

Gtk::ColorSelection* wrap ( GtkColorSelection*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.3 © 1997-2001