Maeomm Reference Documentation: hildon-libsmm
Main Page   Namespaces   Book  

Hildon::ColorButton Class Reference
[ButtonsWidgets]

Inheritance diagram for Hildon::ColorButton:

Inheritance graph
[legend]
List of all members.

Detailed Description

Hildon::ColorButton is a widget to open a Hildon::ColorSelector dialog.

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
const HildonColorButton* gobj () const
 Provides access to the underlying C GtkObject.
HildonColorButton* gobj ()
 Provides access to the underlying C GtkObject.
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::ColorButtonwrap (HildonColorButton* object, bool take_copy=false)


Constructor & Destructor Documentation

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

Hildon::ColorButton::ColorButton (  ) 
 

Hildon::ColorButton::ColorButton ( const Gdk::Color color  )  [explicit]
 


Member Function Documentation

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

Returns:
The color selected by the button.

const HildonColorButton* Hildon::ColorButton::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Button.

HildonColorButton* Hildon::ColorButton::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Button.

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

Sets the color selected by the button.

Parameters:
color A color to be set.


Friends And Related Function Documentation

Hildon::ColorButton* wrap ( HildonColorButton*  object,
bool  take_copy = false
[related]
 

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