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