| Maeomm Reference Documentation: hildonsmm |

It has three entry fields (day, month, year) and an icon button, which allows the user to choose a date by opening a HildonCalendar::Popup dialog.
See also Hildon::CalendarPopup and Hildon::TimeEditor
Public Member Functions | ||||
| DateEditor () | ||||
| void | get_date (guint& year, guint& month, guint& day) const | |||
| Gets the date represented by the date editor. | ||||
| guint | get_day () const | |||
| Gets the day shown in the editor. | ||||
| guint | get_month () const | |||
| Gets the month shown in the editor. | ||||
| guint | get_year () const | |||
| ||||
| const HildonDateEditor* | gobj () const | |||
| Provides access to the underlying C GtkObject. | ||||
| HildonDateEditor* | gobj () | |||
| Provides access to the underlying C GtkObject. | ||||
| void | set_date (guint year, guint month, guint day) | |||
| Sets the date shown in the editor. | ||||
| bool | set_day (guint day) | |||
| Sets the day shown in the editor. | ||||
| bool | set_month (guint month) | |||
| Sets the month shown in the editor. | ||||
| bool | set_year (guint year) | |||
| Sets the year shown in the editor. | ||||
| Glib::SignalProxy1< bool, DateTimeError > | signal_date_error () | |||
| ||||
| virtual | ~DateEditor () | |||
Related Functions | ||||
| (Note that these are not member functions.) | ||||
| Hildon::DateEditor* | wrap (HildonDateEditor* object, bool take_copy=false) | |||
| ||||
| virtual Hildon::DateEditor::~DateEditor | ( | ) | [virtual] |
| Hildon::DateEditor::DateEditor | ( | ) |
| void Hildon::DateEditor::get_date | ( | guint & | year, | |
| guint & | month, | |||
| guint & | day | |||
| ) | const |
Gets the date represented by the date editor.
You can pass 0 to any of the pointers if you're not interested in obtaining it.
| year | Year. | |
| month | Month. | |
| day | Day. |
| guint Hildon::DateEditor::get_day | ( | ) | const |
Gets the day shown in the editor.
| guint Hildon::DateEditor::get_month | ( | ) | const |
Gets the month shown in the editor.
| guint Hildon::DateEditor::get_year | ( | ) | const |
| const HildonDateEditor* Hildon::DateEditor::gobj | ( | ) | const [inline] |
| HildonDateEditor* Hildon::DateEditor::gobj | ( | ) | [inline] |
| void Hildon::DateEditor::set_date | ( | guint | year, | |
| guint | month, | |||
| guint | day | |||
| ) |
Sets the date shown in the editor.
| year | Year. | |
| month | Month. | |
| day | Day. |
| bool Hildon::DateEditor::set_day | ( | guint | day | ) |
Sets the day shown in the editor.
| day | Day. |
true if the day is valid and has been set. | bool Hildon::DateEditor::set_month | ( | guint | month | ) |
Sets the month shown in the editor.
| month | Month. |
true if the month is valid and has been set. | bool Hildon::DateEditor::set_year | ( | guint | year | ) |
Sets the year shown in the editor.
| year | Year. |
true if the year is valid and has been set. | Glib::SignalProxy1<bool,DateTimeError> Hildon::DateEditor::signal_date_error | ( | ) |
bool date_error(DateTimeError type)
| Hildon::DateEditor* wrap | ( | HildonDateEditor * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| 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. |