Trees | Index | Help |
|
---|
Module calendarcontrol |
|
A calendar control that shows several weeks in one go
The design is inspired by the Alan Cooper article http://www.cooper.com/articles/art_goal_directed_design.htm about goal directed design. I also have to apologise for it not quite living up to that vision :-)
It is fairly feature complete and supports all sorts of interaction, scrolling and customization of appearanceClasses | |
---|---|
Calendar |
|
CalendarCell |
|
CalendarCellAttributes |
|
CalendarLabel |
|
FontscaleCache |
|
PopupCalendar |
Function Summary | |
---|---|
GetCalendarCellAttributes(attr)
| |
Returns a wx.Bitmap of the down icon | |
Returns raw data for the down icon | |
Returns wx.Image of the down icon | |
Returns a wx.Bitmap of the up icon | |
Returns raw data for the up icon | |
Returns wx.Image of the up icon | |
int |
How many days are in the specified month? |
tuple |
Return a valid date (and an excellent case for metric time) |
Function Details |
---|
getdownbitmapBitmap()Returns a wx.Bitmap of the down icon |
getdownbitmapData()Returns raw data for the down icon |
getdownbitmapImage()Returns wx.Image of the down icon |
getupbitmapBitmap()Returns a wx.Bitmap of the up icon |
getupbitmapData()Returns raw data for the up icon |
getupbitmapImage()Returns wx.Image of the up icon |
monthrange(year, month)How many days are in the specified month?
|
normalizedate(year, month, day)Return a valid date (and an excellent case for metric time) And example is the 32nd of January is first of Feb, or Jan -2 is December 29th of previous year. You should call this after doing arithmetic on dates (for example you can just subtract 14 from the current day and then call this to get the correct date for two weeks ago.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:31 2008 | http://epydoc.sf.net |