Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::ColorChooserDialog Class Reference

Inheritance diagram for Hildon::ColorChooserDialog:

Gtk::Dialog Gtk::Window 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.

Detailed Description

A dialog used to select a color from HSV colorspace.


Public Member Functions

 ColorChooserDialog ()
Gdk::Color get_color () const
 Retrives the currently selected color in the color chooser dialog.
const HildonColorChooserDialog* gobj () const
 Provides access to the underlying C GtkObject.
HildonColorChooserDialog* gobj ()
 Provides access to the underlying C GtkObject.
void set_color (const Gdk::Color& color)
 Sets the dialog to point at the given color.
virtual ~ColorChooserDialog ()

Related Functions

(Note that these are not member functions.)

Hildon::ColorChooserDialogwrap (HildonColorChooserDialog* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

virtual Hildon::ColorChooserDialog::~ColorChooserDialog (  )  [virtual]

Hildon::ColorChooserDialog::ColorChooserDialog (  ) 


Member Function Documentation

Gdk::Color Hildon::ColorChooserDialog::get_color (  )  const

Retrives the currently selected color in the color chooser dialog.

Parameters:
color A color structure to fill with the currently selected color.

const HildonColorChooserDialog* Hildon::ColorChooserDialog::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonColorChooserDialog* Hildon::ColorChooserDialog::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::ColorChooserDialog::set_color ( const Gdk::Color color  ) 

Sets the dialog to point at the given color.

It'll first try to search the palette of the existing colors to match the passed color. If the color is not found in the pallette, the color in the currently selected box will be modified.

Parameters:
color A color to set on the Hildon::ColorChooserDialog.


Friends And Related Function Documentation

Hildon::ColorChooserDialog* wrap ( HildonColorChooserDialog *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
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 for hildonmm by Doxygen 1.5.1 © 1997-2001