---
name: "wxListItemAttr"
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/wxListItemAttr"
---

# wxListItemAttr(3erl)

Functions for wxListItemAttr class

## NAME

wxListItemAttr - Functions for wxListItemAttr class

## DESCRIPTION

wxWidgets docs: wxListItemAttr

## DATA TYPES

```
wxListItemAttr() = wx:wx_object()
```

## EXPORTS

```
new() -> wxListItemAttr()
```

```
new(ColText, ColBack, Font) -> wxListItemAttr()
```

Types:

ColText = ColBack = wx:wx\_colour()\
 Font = wxFont:wxFont()\

```
getBackgroundColour(This) -> wx:wx_colour4()
```

Types:

This = wxListItemAttr()\

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

Types:

This = wxListItemAttr()\

```
getTextColour(This) -> wx:wx_colour4()
```

Types:

This = wxListItemAttr()\

```
hasBackgroundColour(This) -> boolean()
```

Types:

This = wxListItemAttr()\

```
hasFont(This) -> boolean()
```

Types:

This = wxListItemAttr()\

```
hasTextColour(This) -> boolean()
```

Types:

This = wxListItemAttr()\

```
setBackgroundColour(This, ColBack) -> ok
```

Types:

This = wxListItemAttr()\
 ColBack = wx:wx\_colour()\

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

Types:

This = wxListItemAttr()\
 Font = wxFont:wxFont()\

```
setTextColour(This, ColText) -> ok
```

Types:

This = wxListItemAttr()\
 ColText = wx:wx\_colour()\

```
destroy(This :: wxListItemAttr()) -> ok
```

Destroys the object.
