Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::CalendarPopup Class Reference

Inheritance diagram for Hildon::CalendarPopup:

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

CalendarPopup allows a date to be chosen from a popup calendar dialog, which contains a Gtk::Calendar widget and arrow buttons for changing the month and year.

The pop-up is cancelled by pressing the ESC key. If an entered date is invalid, an information message will be shown.

See also Hildon::DateEditor and Hildon::TimeEditor.


Public Member Functions

 CalendarPopup (Gtk::Window& parent, guint year, guint month, guint day)
 CalendarPopup (guint year, guint month, guint day)
void get_date (guint& year, guint& month, guint& day) const
 Gets the currently selected year, month, and day.
const HildonCalendarPopup* gobj () const
 Provides access to the underlying C GtkObject.
HildonCalendarPopup* gobj ()
 Provides access to the underlying C GtkObject.
void set_date (guint year, guint month, guint day)
 activates a new date on the calendar popup.
virtual ~CalendarPopup ()

Related Functions

(Note that these are not member functions.)

Hildon::CalendarPopupwrap (HildonCalendarPopup* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

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

Hildon::CalendarPopup::CalendarPopup ( guint  year,
guint  month,
guint  day 
)

Hildon::CalendarPopup::CalendarPopup ( Gtk::Window parent,
guint  year,
guint  month,
guint  day 
)


Member Function Documentation

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

Gets the currently selected year, month, and day.

Parameters:
year Year.
month Month.
day Day.

const HildonCalendarPopup* Hildon::CalendarPopup::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonCalendarPopup* Hildon::CalendarPopup::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::CalendarPopup::set_date ( guint  year,
guint  month,
guint  day 
)

activates a new date on the calendar popup.

Parameters:
year Year.
month Month.
day Day.


Friends And Related Function Documentation

Hildon::CalendarPopup* wrap ( HildonCalendarPopup *  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