Maeomm Reference Documentation: hildonsmm
Main Page   Namespaces   Book  

Hildon::WeekdayPicker Class Reference

Inheritance diagram for Hildon::WeekdayPicker:

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

Hildon::WeekdayPicker supports non-mutually exclusive selection of days of the week.

Selected days of the week are shown with a pushed-in effect.

This dialog is used where users are required to pick days on which a certain event should take place, for example, on which days a Calendar event should be repeated. It is used in the Maemo Calendar in the Repeat dialog, in Maemo Tasks in the Repeat dialog and in the Email application's set-up wizard.


Public Member Functions

bool get_day_is_set (Glib::Date::Weekday day) const
 Checks if the specified weekday is set active.
const HildonWeekdayPicker* gobj () const
 Provides access to the underlying C GtkObject.
HildonWeekdayPicker* gobj ()
 Provides access to the underlying C GtkObject.
void set_all ()
 Sets all weekdays active.
void set_day (Glib::Date::Weekday day)
 Sets specified weekday active.
void toggle_day (Glib::Date::Weekday day)
 Toggles current status of the specified weekday.
void unset_all ()
 Sets all weekdays inactive.
void unset_day (Glib::Date::Weekday day)
 Unselect specified weekday.
 WeekdayPicker ()
virtual ~WeekdayPicker ()

Related Functions

(Note that these are not member functions.)

Hildon::WeekdayPickerwrap (HildonWeekdayPicker* object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

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

Hildon::WeekdayPicker::WeekdayPicker (  ) 


Member Function Documentation

bool Hildon::WeekdayPicker::get_day_is_set ( Glib::Date::Weekday  day  )  const

Checks if the specified weekday is set active.

Parameters:
day Day to be checked.
Returns:
true if the day is set, false if the day is not set.

const HildonWeekdayPicker* Hildon::WeekdayPicker::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

HildonWeekdayPicker* Hildon::WeekdayPicker::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Hildon::WeekdayPicker::set_all (  ) 

Sets all weekdays active.

void Hildon::WeekdayPicker::set_day ( Glib::Date::Weekday  day  ) 

Sets specified weekday active.

Parameters:
day Day to be set active.

void Hildon::WeekdayPicker::toggle_day ( Glib::Date::Weekday  day  ) 

Toggles current status of the specified weekday.

Parameters:
day Day to be toggled.

void Hildon::WeekdayPicker::unset_all (  ) 

Sets all weekdays inactive.

void Hildon::WeekdayPicker::unset_day ( Glib::Date::Weekday  day  ) 

Unselect specified weekday.

Parameters:
day Day to be set inactive.


Friends And Related Function Documentation

Hildon::WeekdayPicker* wrap ( HildonWeekdayPicker *  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