Maeomm Reference Documentation: hildonsmm |
Inheritance diagram for Hildon::ColorChooserDialog:
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::ColorChooserDialog* | wrap (HildonColorChooserDialog* object, bool take_copy=false) | |||
|
virtual Hildon::ColorChooserDialog::~ColorChooserDialog | ( | ) | [virtual] |
Hildon::ColorChooserDialog::ColorChooserDialog | ( | ) |
Gdk::Color Hildon::ColorChooserDialog::get_color | ( | ) | const |
Retrives the currently selected color in the color chooser dialog.
color | A color structure to fill with the currently selected color. |
const HildonColorChooserDialog* Hildon::ColorChooserDialog::gobj | ( | ) | const [inline] |
HildonColorChooserDialog* Hildon::ColorChooserDialog::gobj | ( | ) | [inline] |
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.
color | A color to set on the Hildon::ColorChooserDialog. |
Hildon::ColorChooserDialog* wrap | ( | HildonColorChooserDialog * | object, | |
bool | take_copy = false | |||
) | [related] |
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. |