wxAuiDockArt(3erl)

πŸŽ€ NAME πŸŽ€

wxAuiDockArt β€” Functions for the wxAuiDockArt class. This is the wxAuiDockArt(3erl) Erlang Module Definition, bestie πŸ’…βœ¨


🌸 DESCRIPTION 🌸

wxAuiDockArt is part of the wxAUI class framework. See also overview_aui.

wxAuiDockArt is the art provider: it provides all drawing functionality to the wxAui dock manager. This lets the dock manager have a pluggable look-and-feel. Obsessed, honestly 🫢

By default, a wxAuiManager uses an instance of this class called wxAuiDefaultDockArt (not implemented in wx), which provides bitmap art and 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 dock art class. Call wxAuiManager:setArtProvider/2 to force wxAUI to use your new dock art provider. Main character energy fr fr πŸ‘‘

See: wxAuiManager, wxAuiPaneInfo

wxWidgets docs: wxAuiDockArt


πŸ¦‹ DATA TYPES πŸ¦‹

One data type, and it's giving object energy:

wxAuiDockArt() = wx:wx_object()

✨ EXPORTS ✨

Okay bestie, here are all the exports β€” no skips, no crumbs πŸ“

🌟 getColour(This, Id) -> wx:wx_colour4()

getColour(This, Id) -> wx:wx_colour4()

Types:

  • This = wxAuiDockArt()
  • Id = integer()

Get the colour of a certain setting.

The id can be one of the colour values of wxAuiPaneDockArtSetting.

πŸ¦‹ getFont(This, Id) -> wxFont:wxFont()

getFont(This, Id) -> wxFont:wxFont()

Types:

  • This = wxAuiDockArt()
  • Id = integer()

Get a font setting. Cute and simple πŸ’–

🌸 getMetric(This, Id) -> integer()

getMetric(This, Id) -> integer()

Types:

  • This = wxAuiDockArt()
  • Id = integer()

Get the value of a certain setting.

The id can be one of the size values of wxAuiPaneDockArtSetting.

πŸ’œ setColour(This, Id, Colour) -> ok

setColour(This, Id, Colour) -> ok

Types:

  • This = wxAuiDockArt()
  • Id = integer()
  • Colour = wx:wx_colour()

Set a certain setting with the value colour.

The id can be one of the colour values of wxAuiPaneDockArtSetting.

🧚 setFont(This, Id, Font) -> ok

setFont(This, Id, Font) -> ok

Types:

  • This = wxAuiDockArt()
  • Id = integer()
  • Font = wxFont:wxFont()

Set a font setting.

πŸ”₯ setMetric(This, Id, New_val) -> ok

setMetric(This, Id, New_val) -> ok

Types:

  • This = wxAuiDockArt()
  • Id = New_val = integer()

Set a certain setting with the value new_val.

The id can be one of the size values of wxAuiPaneDockArtSetting.


Mwah πŸ’‹ huge kiss to the source: wxWidgets team, version wx 2.2.2.1, manual page wxAuiDockArt(3erl). That's the whole vibe, bestie β€” periodt. πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from