Package wx :: Module calendar
[frames | no frames]

Module wx.calendar

Classes for an interactive Calendar control.
Classes
CalendarCtrl The calendar control allows the user to pick a date interactively.
CalendarDateAttr A set of customization attributes for a calendar date, which can be used to control the look of the Calendar object.
CalendarEvent Proxy of C++ CalendarEvent class

Function Summary
VisualAttributes CalendarCtrl_GetClassDefaultAttributes(variant)
Get the default attributes for this class.
CalendarCtrl PreCalendarCtrl()
Precreate a CalendarCtrl for 2-phase creation.

Function Details

CalendarCtrl_GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)

Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes.

The variant parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See wx.Window.SetWindowVariant for more about this.

Parameters:
variant
           (type=int)
Returns:
VisualAttributes

PreCalendarCtrl()

Precreate a CalendarCtrl for 2-phase creation.
Returns:
CalendarCtrl

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:39 2005 http://epydoc.sf.net