Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::TimePicker Class Reference

Inheritance diagram for Hildon::TimePicker:

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

Hildon::TimePicker is a dialog popup widget which lets the user set the time, using up/down arrows on hours and minutes.

There are two arrows for minutes, so that minutes can be added also in 10 min increments. This widget is mainly used as a part of the Hildon::TimeEditor implementation.


Public Member Functions

void get_time (guint& hours, guint& minutes) const
 Gets the time of the Hildon::TimePicker widget.
const HildonTimePicker* gobj () const
 Provides access to the underlying C GtkObject.
HildonTimePicker* gobj ()
 Provides access to the underlying C GtkObject.
void set_time (guint hours, guint minutes)
 Sets the time of the Hildon::TimePicker widget.
 TimePicker ()
virtual ~TimePicker ()

Related Functions

(Note that these are not member functions.)

Hildon::TimePickerwrap (HildonTimePicker* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

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

Hildon::TimePicker::TimePicker (  ) 


Member Function Documentation

void Hildon::TimePicker::get_time ( guint &  hours,
guint &  minutes 
) const

Gets the time of the Hildon::TimePicker widget.

Parameters:
hours Hours.
minutes Minutes.

const HildonTimePicker* Hildon::TimePicker::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonTimePicker* Hildon::TimePicker::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::TimePicker::set_time ( guint  hours,
guint  minutes 
)

Sets the time of the Hildon::TimePicker widget.

Parameters:
hours Hours.
minutes Minutes.


Friends And Related Function Documentation

Hildon::TimePicker* wrap ( HildonTimePicker *  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