| ||||||
| ||||||
Description | ||||||
This widget shows a calendar. | ||||||
Synopsis | ||||||
Documentation | ||||||
data Calendar | ||||||
| ||||||
class WidgetClass o => CalendarClass o | ||||||
| ||||||
castToCalendar :: GObjectClass obj => obj -> Calendar | ||||||
calendarNew :: IO Calendar | ||||||
Create a new calendar widget.
| ||||||
calendarSelectMonth :: CalendarClass c => c -> Int -> Int -> IO Bool | ||||||
Flip the page to a month , 0 is January,.., 11 is December.
| ||||||
calendarSelectDay :: CalendarClass c => c -> Int -> IO () | ||||||
Shift to a day, counted form 1 to 31 (depending on the month of course). | ||||||
calendarMarkDay :: CalendarClass c => c -> Int -> IO Bool | ||||||
Mark (select) a day in the current month.
| ||||||
calendarUnmarkDay :: CalendarClass c => c -> Int -> IO Bool | ||||||
Unmark (deselect) a day in the current month.
| ||||||
calendarClearMarks :: CalendarClass c => c -> IO () | ||||||
Unmark every day in the current page. | ||||||
calendarDisplayOptions :: CalendarClass c => c -> [CalendarDisplayOptions] -> IO () | ||||||
Depreciaded, use calendarSetDisplayOptions. | ||||||
calendarSetDisplayOptions :: CalendarClass c => c -> [CalendarDisplayOptions] -> IO () | ||||||
Specifies how the calendar should be displayed. | ||||||
calendarGetDisplayOptions :: CalendarClass c => c -> IO [CalendarDisplayOptions] | ||||||
Returns the current display options for the calendar. | ||||||
calendarGetDate :: CalendarClass c => c -> IO (Int, Int, Int) | ||||||
Retrieve the currently selected date.
| ||||||
onDaySelected :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
Emitted when a day was selected. | ||||||
afterDaySelected :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
onDaySelectedDoubleClick :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
Emitted when a day received a double click. | ||||||
afterDaySelectedDoubleClick :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
onMonthChanged :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
The month changed. | ||||||
afterMonthChanged :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
onNextMonth :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
The next month was selected. | ||||||
afterNextMonth :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
onNextYear :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
The next year was selected. | ||||||
afterNextYear :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
onPrevMonth :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
The previous month was selected. | ||||||
afterPrevMonth :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
onPrevYear :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
The previous year was selected. | ||||||
afterPrevYear :: CalendarClass c => c -> IO () -> IO (ConnectId c) | ||||||
Produced by Haddock version 0.6 |