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

Type CalendarDateAttr

object --+
         |
        CalendarDateAttr


A set of customization attributes for a calendar date, which can be used to control the look of the Calendar object.


Method Summary
CalendarDateAttr __init__(self, colText, colBack, colBorder, font, border)
Create a CalendarDateAttr.
  __repr__(self)
Colour GetBackgroundColour(self)
int GetBorder(self)
Colour GetBorderColour(self)
Font GetFont(self)
Colour GetTextColour(self)
bool HasBackgroundColour(self)
bool HasBorder(self)
bool HasBorderColour(self)
bool HasFont(self)
bool HasTextColour(self)
bool IsHoliday(self)
  SetBackgroundColour(self, colBack)
  SetBorder(self, border)
  SetBorderColour(self, col)
  SetFont(self, font)
  SetHoliday(self, holiday)
  SetTextColour(self, colText)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Method Details

__init__(self, colText=wxNullColour, colBack=wxNullColour, colBorder=wxNullColour, font=wxNullFont, border=CAL_BORDER_NONE)
(Constructor)

Create a CalendarDateAttr.

Parameters:
colText
           (type=Colour)

colBack
           (type=Colour)

colBorder
           (type=Colour)

font
           (type=Font)

border
           (type=int)

Returns:
CalendarDateAttr
Overrides:
__builtin__.object.__init__

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:49:40 2007 http://epydoc.sf.net