Maemomm Reference Documentation: hildonmm
Main Page   Namespaces   Book  

Hildon::DateSelector Class Reference
[Widgets]

A widget to select the current date. More...

Inheritance diagram for Hildon::DateSelector:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DateSelector ()
HildonDateSelector * gobj ()
 Provides access to the underlying C GtkObject.
const HildonDateSelector * gobj () const
 Provides access to the underlying C GtkObject.
 DateSelector ()
 DateSelector (int min_year, int max_year)
bool select_current_date (guint year, guint month, guint day)
 Sets the current active date on the Hildon::DateSelector widget.
void get_date (guint &year, guint &month, guint &day) const
 Gets the current active date on the Hildon::DateSelector widget.

Related Functions

(Note that these are not member functions.)

Hildon::DateSelectorwrap (HildonDateSelector *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

A widget to select the current date.

Hildon::DateSelector is a date widget with multiple columns. Users can choose a date by selecting values in the day, month and year columns.


Constructor & Destructor Documentation

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

Hildon::DateSelector::DateSelector (  ) 

Hildon::DateSelector::DateSelector ( int  min_year,
int  max_year 
) [explicit]


Member Function Documentation

HildonDateSelector* Hildon::DateSelector::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Hildon::TouchSelector.

const HildonDateSelector* Hildon::DateSelector::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Hildon::TouchSelector.

bool Hildon::DateSelector::select_current_date ( guint  year,
guint  month,
guint  day 
)

Sets the current active date on the Hildon::DateSelector widget.

{2,2}

Parameters:
year The current year.
month The current month (between 0 and 11).
day The current day (between 1 and 31).
Returns:
true on success, false otherwise.

void Hildon::DateSelector::get_date ( guint &  year,
guint &  month,
guint &  day 
) const

Gets the current active date on the Hildon::DateSelector widget.

{2,2}

Parameters:
year Location of the current year, or 0.
month Location of the current month (between 0 and 11), or 0.
day Location of the current day (between 1 and 31), or 0.


Friends And Related Function Documentation

Hildon::DateSelector * wrap ( HildonDateSelector *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

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 hildonmm by Doxygen 1.5.6 © 1997-2001