wxCalendarDateAttr(3erl)
πΈ NAME πΈ
okay so bestie, this is the wxCalendarDateAttr(3erl) page from the Erlang Module Definition manual β title and manual name folded in right here like a little name tag. It's literally Functions for wxCalendarDateAttr class. π
β¨ DESCRIPTION β¨
wxCalendarDateAttr is, like, custom attributes for a calendar date. The objects of this class are used with wxCalendarCtrl.
See: wxCalendarCtrl
wxWidgets docs: wxCalendarDateAttr
π¦ DATA TYPES π¦
the one and only type on this page, iconic:
wxCalendarDateAttr() = wx:wx_object()
π EXPORTS π
new() -> wxCalendarDateAttr()
no arguments, just a whole wxCalendarDateAttr() situation. β¨
new(Border) -> wxCalendarDateAttr()
this form takes Border and gives you back a wxCalendarDateAttr(). π«Ά
new(Border :: [Option]) -> wxCalendarDateAttr()
Types:
Option =
{colText, wx:wx_colour()} |
{colBack, wx:wx_colour()} |
{colBorder, wx:wx_colour()} |
{font, wxFont:wxFont()} |
{border, wx:wx_enum()}
Constructor for specifying all wxCalendarDateAttr properties. π
new(Border, Options :: [Option]) -> wxCalendarDateAttr()
Types:
Border = wx:wx_enum()
Option = {colBorder, wx:wx_colour()}
Constructor using default properties except the given border. π
setTextColour(This, ColText) -> ok
Types:
This = wxCalendarDateAttr()
ColText = wx:wx_colour()
Sets the text (foreground) colour to use. π
setBackgroundColour(This, ColBack) -> ok
Types:
This = wxCalendarDateAttr()
ColBack = wx:wx_colour()
Sets the text background colour to use. πΈ
setBorderColour(This, Col) -> ok
Types:
This = wxCalendarDateAttr()
Col = wx:wx_colour()
Sets the border colour to use. π
setFont(This, Font) -> ok
Types:
This = wxCalendarDateAttr()
Font = wxFont:wxFont()
Sets the font to use. β¨
setBorder(This, Border) -> ok
Types:
This = wxCalendarDateAttr()
Border = wx:wx_enum()
Sets the border to use. π
setHoliday(This, Holiday) -> ok
Types:
This = wxCalendarDateAttr()
Holiday = boolean()
If Holiday is true, this calendar day will be displayed as a holiday. π₯
hasTextColour(This) -> boolean()
Types:
This = wxCalendarDateAttr()
Returns true if a non-default text foreground colour is set. π
hasBackgroundColour(This) -> boolean()
Types:
This = wxCalendarDateAttr()
Returns true if a non-default text background colour is set. π
hasBorderColour(This) -> boolean()
Types:
This = wxCalendarDateAttr()
Returns true if a non-default border colour is set. π¦
hasFont(This) -> boolean()
Types:
This = wxCalendarDateAttr()
Returns true if a non-default font is set. π
hasBorder(This) -> boolean()
Types:
This = wxCalendarDateAttr()
Returns true if a non-default (i.e. any) border is set. π
isHoliday(This) -> boolean()
Types:
This = wxCalendarDateAttr()
Returns true if this calendar day is displayed as a holiday. π΄
getTextColour(This) -> wx:wx_colour4()
Types:
This = wxCalendarDateAttr()
Returns the text colour set for the calendar date. π
getBackgroundColour(This) -> wx:wx_colour4()
Types:
This = wxCalendarDateAttr()
Returns the background colour set for the calendar date. π
getBorderColour(This) -> wx:wx_colour4()
Types:
This = wxCalendarDateAttr()
Returns the border colour set for the calendar date. π
getFont(This) -> wxFont:wxFont()
Types:
This = wxCalendarDateAttr()
Returns the font set for the calendar date. β¨
getBorder(This) -> wx:wx_enum()
Types:
This = wxCalendarDateAttr()
Returns the border set for the calendar date. π¦
destroy(This :: wxCalendarDateAttr()) -> ok
Destroys the object. π
mwah π that's the whole page, bestie. Source/version vibes: wxWidgets team. and wx 2.2.2.1; the footer's date slot is not a separate date on the original β it's just the wxCalendarDateAttr(3erl) page stamp. slay. β¨
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms