View Source wxListItemAttr (wx v2.4.2)

Functions for wxListItemAttr class

wxWidgets docs: wxListItemAttr

Summary

Types

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

Functions

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

Destroys the object.

Link to this function

getBackgroundColour(This)

View Source
-spec getBackgroundColour(This) -> wx:wx_colour4() when This :: wxListItemAttr().
-spec getFont(This) -> wxFont:wxFont() when This :: wxListItemAttr().
-spec getTextColour(This) -> wx:wx_colour4() when This :: wxListItemAttr().
Link to this function

hasBackgroundColour(This)

View Source
-spec hasBackgroundColour(This) -> boolean() when This :: wxListItemAttr().
-spec hasFont(This) -> boolean() when This :: wxListItemAttr().
-spec hasTextColour(This) -> boolean() when This :: wxListItemAttr().
-spec new() -> wxListItemAttr().
Link to this function

new(ColText, ColBack, Font)

View Source
-spec new(ColText, ColBack, Font) -> wxListItemAttr()
             when ColText :: wx:wx_colour(), ColBack :: wx:wx_colour(), Font :: wxFont:wxFont().
Link to this function

setBackgroundColour(This, ColBack)

View Source
-spec setBackgroundColour(This, ColBack) -> ok when This :: wxListItemAttr(), ColBack :: wx:wx_colour().
-spec setFont(This, Font) -> ok when This :: wxListItemAttr(), Font :: wxFont:wxFont().
Link to this function

setTextColour(This, ColText)

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