wxCalendarDateAttr
Methods
wxCalendarDateAttr
Constructor using default properties except the given border.
GetBackgroundColour
Returns the background colour set for the calendar date.
GetBorder
Returns the border set for the calendar date.
GetBorderColour
Returns the border colour set for the calendar date.
GetFont
Returns the font set for the calendar date.
GetTextColour
Returns the text colour set for the calendar date.
HasBackgroundColour
Returns true if a non-default text background colour is set.
HasBorder
Returns true if a non-default (i.e.
HasBorderColour
Returns true if a non-default border colour is set.
HasFont
Returns true if a non-default font is set.
HasTextColour
Returns true if a non-default text foreground colour is set.
IsHoliday
Returns true if this calendar day is displayed as a holiday.
SetBackgroundColour
Sets the text background colour to use.
SetBorder
Sets the border to use.
SetBorderColour
Sets the border colour to use.
SetFont
Sets the font to use.
SetHoliday
If holiday is true, this calendar day will be displayed as a holiday.
SetTextColour
Sets the text (foreground) colour to use.
Static Methods
GetMark
Used (internally) by the generic wxCalendarCtrl::Mark().
SetMark
Set the attributes that will be used to Mark() days on the generic wxCalendarCtrl.
wxCalendarDateAttr
wxCalendarDateAttr
(
integer
$border
,
wxColour
$colBorder
=
wxNullColour
)
Constructor using default properties except the given border.
wxCalendarDateAttr
(
wxColour
$colText
=
wxNullColour
,
wxColour
$colBack
=
wxNullColour
,
wxColour
$colBorder
=
wxNullColour
,
wxFont
$font
=
wxNullFont
,
integer
$border
=
wxCAL_BORDER_NONE
)
Constructor for specifying all wxCalendarDateAttr properties.
GetBackgroundColour
wxColour
GetBackgroundColour
( )
Returns the background colour set for the calendar date.
GetBorder
integer
GetBorder
( )
Returns the border set for the calendar date.
GetBorderColour
wxColour
GetBorderColour
( )
Returns the border colour set for the calendar date.
GetFont
wxFont
GetFont
( )
Returns the font set for the calendar date.
GetMark
static
wxCalendarDateAttr
GetMark
( )
Used (internally) by the generic wxCalendarCtrl::Mark().
GetTextColour
wxColour
GetTextColour
( )
Returns the text colour set for the calendar date.
HasBackgroundColour
bool
HasBackgroundColour
( )
Returns true if a non-default text background colour is set.
HasBorder
bool
HasBorder
( )
Returns true if a non-default (i.e.
HasBorderColour
bool
HasBorderColour
( )
Returns true if a non-default border colour is set.
HasFont
bool
HasFont
( )
Returns true if a non-default font is set.
HasTextColour
bool
HasTextColour
( )
Returns true if a non-default text foreground colour is set.
IsHoliday
bool
IsHoliday
( )
Returns true if this calendar day is displayed as a holiday.
SetBackgroundColour
SetBackgroundColour
(
wxColour
$colBack
)
Sets the text background colour to use.
SetBorder
SetBorder
(
integer
$border
)
Sets the border to use.
SetBorderColour
SetBorderColour
(
wxColour
$col
)
Sets the border colour to use.
SetFont
SetFont
(
wxFont
$font
)
Sets the font to use.
SetHoliday
SetHoliday
(
bool
$holiday
)
If holiday is true, this calendar day will be displayed as a holiday.
SetMark
static
SetMark
(
wxCalendarDateAttr
$m
)
Set the attributes that will be used to Mark() days on the generic wxCalendarCtrl.
SetTextColour
SetTextColour
(
wxColour
$colText
)
Sets the text (foreground) colour to use.