Hildon::DateEditor Class Reference

#include <date-editor.h>

Inheritance diagram for Hildon::DateEditor:

Container List of all members.

Public Member Functions

virtual ~DateEditor ()
HildonDateEditor * gobj ()
 Provides access to the underlying C GtkObject.
const HildonDateEditor * gobj () const
 Provides access to the underlying C GtkObject.
 DateEditor ()
void set_date (guint year, guint month, guint day)
 Sets the date shown in the editor.
void get_date (guint &year, guint &month, guint &day)
bool set_year (guint year)
 Sets the year shown in the editor.
bool set_month (guint month)
 Sets the month shown in the editor.
bool set_day (guint day)
 Sets the day shown in the editor.
guint get_year () const
guint get_month () const
 Gets the month shown in the editor.
guint get_day () const
 Gets the day shown in the editor.

Related Functions

(Note that these are not member functions.)

Hildon::DateEditorwrap (HildonDateEditor *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::DateEditor::~DateEditor  )  [virtual]
 

Hildon::DateEditor::DateEditor  ) 
 


Member Function Documentation

void Hildon::DateEditor::get_date guint &  year,
guint &  month,
guint &  day
 

Parameters:
year Year.
month Month.
day Day.
Returns:
The year, month, and day currently on the date editor.

guint Hildon::DateEditor::get_day  )  const
 

Gets the day shown in the editor.

Returns:
The current day shown in the editor.

guint Hildon::DateEditor::get_month  )  const
 

Gets the month shown in the editor.

Returns:
The current month shown in the editor.

guint Hildon::DateEditor::get_year  )  const
 

Returns:
The current year shown in the editor.

const HildonDateEditor* Hildon::DateEditor::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

HildonDateEditor* Hildon::DateEditor::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

void Hildon::DateEditor::set_date guint  year,
guint  month,
guint  day
 

Sets the date shown in the editor.

Parameters:
year Year.
month Month.
day Day.

bool Hildon::DateEditor::set_day guint  day  ) 
 

Sets the day shown in the editor.

Parameters:
day Day.
Returns:
true if the day is valid.

bool Hildon::DateEditor::set_month guint  month  ) 
 

Sets the month shown in the editor.

Parameters:
month Month.
Returns:
true if the month is valid.

bool Hildon::DateEditor::set_year guint  year  ) 
 

Sets the year shown in the editor.

Parameters:
year Year.
Returns:
true if the year is valid.


Friends And Related Function Documentation

Hildon::DateEditor * wrap HildonDateEditor *  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 on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6