Maeomm Reference Documentation: hildonsmm |
Hildon::DateButton is a widget that shows a text label and a date, and allows the user to select a different date. Visually, it's a button that, once clicked, presents a Hildon::PickerDialog containing a Hildon::DateSelector. Once the user selects a different date from the selector, this will be shown in the button.
Public Member Functions | |
DateButton (Gtk::Hildon::SizeType size, ButtonArrangement arrangement, int min_year, int max_year) | |
DateButton (Gtk::Hildon::SizeType size, ButtonArrangement arrangement=BUTTON_ARRANGEMENT_HORIZONTAL) | |
DateButton () | |
void | get_date (guint& year, guint& month, guint& day) const |
const DateSelector* | get_selector () const |
DateSelector* | get_selector () |
const HildonDateButton* | gobj () const |
Provides access to the underlying C GtkObject. | |
HildonDateButton* | gobj () |
Provides access to the underlying C GtkObject. | |
void | set_date (guint year, guint month, guint day) |
void | set_selector (DateSelector& selector) |
virtual | ~DateButton () |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::DateButton* | wrap (HildonDateButton* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
virtual Hildon::DateButton::~DateButton | ( | ) | [virtual] |
Hildon::DateButton::DateButton | ( | ) |
Hildon::DateButton::DateButton | ( | Gtk::Hildon::SizeType | size, | |
ButtonArrangement | arrangement = BUTTON_ARRANGEMENT_HORIZONTAL | |||
) | [explicit] |
Hildon::DateButton::DateButton | ( | Gtk::Hildon::SizeType | size, | |
ButtonArrangement | arrangement, | |||
int | min_year, | |||
int | max_year | |||
) |
void Hildon::DateButton::get_date | ( | guint & | year, | |
guint & | month, | |||
guint & | day | |||
) | const |
const DateSelector* Hildon::DateButton::get_selector | ( | ) | const [inline] |
DateSelector* Hildon::DateButton::get_selector | ( | ) | [inline] |
const HildonDateButton* Hildon::DateButton::gobj | ( | ) | const [inline] |
HildonDateButton* Hildon::DateButton::gobj | ( | ) | [inline] |
void Hildon::DateButton::set_date | ( | guint | year, | |
guint | month, | |||
guint | day | |||
) |
void Hildon::DateButton::set_selector | ( | DateSelector& | selector | ) | [inline] |
References Hildon::PickerButton::set_selector().
Hildon::DateButton* wrap | ( | HildonDateButton * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
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. |