wx.adv.CalendarDateAttr¶wx.adv.CalendarDateAttr is a custom attributes for a calendar date.
The objects of this class are used with wx.adv.CalendarCtrl.
See also
Class Hierarchy¶
Inheritance diagram for class CalendarDateAttr:
Methods Summary¶Constructor for specifying all wx.adv.CalendarDateAttr properties. |
|
Returns the background colour set for the calendar date. |
|
Returns the border set for the calendar date. |
|
Returns the border colour set for the calendar date. |
|
Returns the font set for the calendar date. |
|
Used (internally) by the generic |
|
Returns the text colour set for the calendar date. |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Sets the text background colour to use. |
|
Sets the border to use. |
|
Sets the border colour to use. |
|
Sets the font to use. |
|
If holiday is |
|
Set the attributes that will be used to Mark() days on the generic wx.adv.CalendarCtrl. |
|
Sets the text (foreground) colour to use. |
Properties Summary¶See |
|
See |
Class API¶Possible constructors:
CalendarDateAttr(colText=NullColour, colBack=NullColour,
colBorder=NullColour, font=NullFont, border=CAL_BORDER_NONE) -> None
CalendarDateAttr(border, colBorder=NullColour) -> None
CalendarDateAttr is a custom attributes for a calendar date.
__init__ (self, colText=NullColour, colBack=NullColour, colBorder=NullColour, font=NullFont, border=CAL_BORDER_NONE)
Constructor for specifying all wx.adv.CalendarDateAttr properties.
colText (wx.Colour)
colBack (wx.Colour)
colBorder (wx.Colour)
font (wx.Font)
border (CalendarDateBorder)
None
__init__ (self, border, colBorder=NullColour)
Constructor using default properties except the given border.
border (CalendarDateBorder)
colBorder (wx.Colour)
None
Returns the background colour set for the calendar date.
Colour
Returns the border set for the calendar date.
Returns the border colour set for the calendar date.
Colour
Used (internally) by the generic wx.adv.CalendarCtrl.Mark .
Returns the text colour set for the calendar date.
Colour
Returns True if a non-default text background colour is set.
bool
Returns True if a non-default (i.e. any) border is set.
bool
Returns True if a non-default border colour is set.
bool
Returns True if a non-default font is set.
bool
Returns True if a non-default text foreground colour is set.
bool
Returns True if this calendar day is displayed as a holiday.
bool
Sets the text background colour to use.
colBack (wx.Colour)
None
Sets the border to use.
border (CalendarDateBorder)
None
Sets the border colour to use.
col (wx.Colour)
None
If holiday is True, this calendar day will be displayed as a holiday.
holiday (bool)
None
Set the attributes that will be used to Mark() days on the generic wx.adv.CalendarCtrl.
None
Sets the text (foreground) colour to use.
colText (wx.Colour)
None
See GetBorderColour and SetBorderColour
See GetTextColour and SetTextColour