Maeomm Reference Documentation: hildon-libsmm |
Main Page
Namespaces
Book
Hildon::ColorSelector Class Reference
[Dialogs]
Inheritance diagram for Hildon::ColorSelector:
[legend]List of all members.
Detailed Description
The Hildon::ColorSelector is a dialog for selecting colors.
It allows selection of a color from a standard 16-color palette or a palette of 8 user-customizable colors. The user-customizable colors can be modified through Hildon::ColorPopup.
It is very similar to the Gtk::ColorSelectionDialog, but more suitable for embedded devices.
There are two different ways to use the Hildon::ColorSelector:
- By using the Hildon::ColorButton, which shows the selected color in the button area and launches the Hildon::ColorSelector dialog automatically when clicked.
- By creating the dialog manually
Constructor & Destructor Documentation
virtual Hildon::ColorSelector::~ColorSelector |
( |
|
) |
[virtual] |
|
Hildon::ColorSelector::ColorSelector |
( |
|
) |
|
|
Hildon::ColorSelector::ColorSelector |
( |
Gtk::Window& |
parent |
) |
|
|
Member Function Documentation
Gdk::Color Hildon::ColorSelector::get_color |
( |
|
) |
const |
|
const HildonColorSelector* Hildon::ColorSelector::gobj |
( |
|
) |
const [inline] |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Dialog. |
HildonColorSelector* Hildon::ColorSelector::gobj |
( |
|
) |
[inline] |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Dialog. |
void Hildon::ColorSelector::set_color |
( |
const Gdk::Color& |
color |
) |
|
|
|
Selects the color specified.
Does nothing if the color does not exist among the standard colors. - Parameters:
-
|
Friends And Related Function Documentation
|
- Parameters:
-
| 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. |
- Returns:
- A C++ instance that wraps this C instance.
|
The documentation for this class was generated from the following file:
Generated for hildon-libsmm by
Doxygen 1.4.2 © 1997-2001