---
name: "wxAuiDockArt"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/wxAuiDockArt"
---

# wxAuiDockArt(3erl)

Functions for wxAuiDockArt class

## NAME

wxAuiDockArt - Functions for wxAuiDockArt class

## DESCRIPTION

*wxAuiDockArt* is part of the wxAUI class framework. See also overview\_aui.

*wxAuiDockArt* is the art provider: provides all drawing functionality to the wxAui dock manager. This allows the dock manager to have a pluggable look-and-feel.

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.

See: *wxAuiManager*, *wxAuiPaneInfo*

wxWidgets docs: wxAuiDockArt

## DATA TYPES

```
wxAuiDockArt() = wx:wx_object()
```

## EXPORTS

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

Types:

This = wxAuiDockArt()\
 Id = integer()\

Get the colour of a certain setting.

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

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

Types:

This = wxAuiDockArt()\
 Id = integer()\

Get a font setting.

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

Types:

This = wxAuiDockArt()\
 Id = integer()\

Get the value of a certain setting.

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

```
setColour(This, Id, Colour) -> ok
```

Types:

This = wxAuiDockArt()\
 Id = integer()\
 Colour = wx:wx\_colour()\

Set a certain setting with the value *colour*.

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

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

Types:

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

Set a font setting.

```
setMetric(This, Id, New_val) -> ok
```

Types:

This = wxAuiDockArt()\
 Id = New\_val = integer()\

Set a certain setting with the value *new\_val*.

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