Search documentation of wx

# wxListItemAttr (wx v2.5.4)

Copy Markdown View Source

Functions for wxListItemAttr class

wxWidgets docs: wxListItemAttr

## Summary

### Types

wxListItemAttr()

### Functions

destroy(This)

Destroys the object

getBackgroundColour(This)
getFont(This)
getTextColour(This)
hasBackgroundColour(This)
hasFont(This)
hasTextColour(This)
new()
new(ColText, ColBack, Font)
setBackgroundColour(This, ColBack)
setFont(This, Font)
setTextColour(This, ColText)

## Types

# wxListItemAttr()

    -type wxListItemAttr() :: wx:wx_object().

## Functions

# destroy(This)

    -spec destroy(This :: wxListItemAttr()) -> ok.

Destroys the object

# getBackgroundColour(This)

    -spec getBackgroundColour(This) -> wx:wx_colour4() when This :: wxListItemAttr().

# getFont(This)

    -spec getFont(This) -> wxFont:wxFont() when This :: wxListItemAttr().

# getTextColour(This)

    -spec getTextColour(This) -> wx:wx_colour4() when This :: wxListItemAttr().

# hasBackgroundColour(This)

    -spec hasBackgroundColour(This) -> boolean() when This :: wxListItemAttr().

# hasFont(This)

    -spec hasFont(This) -> boolean() when This :: wxListItemAttr().

# hasTextColour(This)

    -spec hasTextColour(This) -> boolean() when This :: wxListItemAttr().

# new()

    -spec new() -> wxListItemAttr().

# new(ColText, ColBack, Font)

    -spec new(ColText, ColBack, Font) -> wxListItemAttr()
                 when ColText :: wx:wx_colour(), ColBack :: wx:wx_colour(), Font :: wxFont:wxFont().

# setBackgroundColour(This, ColBack)

    -spec setBackgroundColour(This, ColBack) -> ok when This :: wxListItemAttr(), ColBack :: wx:wx_colour().

# setFont(This, Font)

    -spec setFont(This, Font) -> ok when This :: wxListItemAttr(), Font :: wxFont:wxFont().

# setTextColour(This, ColText)

    -spec setTextColour(This, ColText) -> ok when This :: wxListItemAttr(), ColText :: wx:wx_colour().