Maeomm Reference Documentation: hildonsmm |
Inheritance diagram for Hildon::ColorButton:
The selected color is shown in the button and is a property of the button.
Public Member Functions | ||||
ColorButton (const Gdk::Color& color) | ||||
ColorButton () | ||||
Gdk::Color | get_color () const | |||
bool | get_popup_shown () const | |||
This function checks if the color button has the color selection dialog currently popped-up. | ||||
const HildonColorButton* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
HildonColorButton* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
void | popdown () | |||
If the color selection dialog is currently popped-up (visible) it will be popped-down (hidden). | ||||
void | set_color (const Gdk::Color& color) | |||
Sets the color selected by the button. | ||||
virtual | ~ColorButton () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Hildon::ColorButton* | wrap (HildonColorButton* object, bool take_copy=false) | |||
|
virtual Hildon::ColorButton::~ColorButton | ( | ) | [virtual] |
Hildon::ColorButton::ColorButton | ( | ) |
Hildon::ColorButton::ColorButton | ( | const Gdk::Color & | color | ) | [explicit] |
Gdk::Color Hildon::ColorButton::get_color | ( | ) | const |
bool Hildon::ColorButton::get_popup_shown | ( | ) | const |
This function checks if the color button has the color selection dialog currently popped-up.
true
if the dialog is popped-up (visible to user). const HildonColorButton* Hildon::ColorButton::gobj | ( | ) | const [inline] |
HildonColorButton* Hildon::ColorButton::gobj | ( | ) | [inline] |
void Hildon::ColorButton::popdown | ( | ) |
If the color selection dialog is currently popped-up (visible) it will be popped-down (hidden).
void Hildon::ColorButton::set_color | ( | const Gdk::Color & | color | ) |
Sets the color selected by the button.
color | A color to be set. |
Hildon::ColorButton* wrap | ( | HildonColorButton * | 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. |