wxAuiTabArt(3erl)
This is the wxAuiTabArt(3erl) page β Erlang Module Definition, bestie, and itβs literally all about making tab art providers go π
β¨.
π NAME π
wxAuiTabArt β functions for the wxAuiTabArt class, thatβs the vibe π
π DESCRIPTION π
Okay so the tab art provider is literally the thing that defines all the drawing functions used by wxAuiNotebook π¨β¨. Itβs what lets wxAuiNotebook have a pluggable look-and-feel β yes, main character customization energy.
By default, a wxAuiNotebook uses an instance of this class called wxAuiDefaultTabArt (not implemented in wx), and that one provides bitmap art plus a colour scheme that is adapted to the major platformsβ look π₯οΈπ. You can either derive from that class to alter its behaviour or write a completely new tab art class β both are valid, bestie.
Another example of creating a new wxAuiNotebook tab bar is wxAuiSimpleTabArt π¦.
Call wxAuiNotebook:setArtProvider/2 to make use of this new tab art β thatβs the moment it all comes together, periodt πβ¨.
wxWidgets docs: wxAuiTabArt π
π¦ DATA TYPES π¦
wxAuiTabArt() = wx:wx_object()β thatβs the type, no cap π¦
β¨ EXPORTS β¨
setFlags(This, Flags) -> ok
Types:
This = wxAuiTabArt()Flags = integer()
Sets flags β literally that, bestie π
setMeasuringFont(This, Font) -> ok
Types:
This = wxAuiTabArt()Font = wxFont:wxFont()
Sets the font used for calculating measurements πβ¨
setNormalFont(This, Font) -> ok
Types:
This = wxAuiTabArt()Font = wxFont:wxFont()
Sets the normal font for drawing labels π·οΈπ
setSelectedFont(This, Font) -> ok
Types:
This = wxAuiTabArt()Font = wxFont:wxFont()
Sets the font for drawing text for selected UI elements π
setColour(This, Colour) -> ok
Types:
This = wxAuiTabArt()Colour = wx:wx_colour()
Sets the colour of the inactive tabs π¨
Since: 2.9.2 β
setActiveColour(This, Colour) -> ok
Types:
This = wxAuiTabArt()Colour = wx:wx_colour()
Sets the colour of the selected tab πΈ
Since: 2.9.2 β
Sign-off from the footer: source/version is wxWidgets team + wx 2.2.2.1, and the footer also has wxAuiTabArt(3erl); date: not listed in the original footer, so Iβm not making one up β mwah ππ«Ά
π¦ 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