wxlistitemattrrepresents the attributes (color, font, ...) of a wxlistctrl wxlistitem. include files <wx/listctrl.h> see also wxlistctrl overview, wxlistctrl, wxlistitem members
wxlistitemattr::wxlistitemattr
wxlistitemattr::wxlistitemattrwxlistitemattr() default constructor. wxlistitemattr(const wxcolour coltext, const wxcolour colback, const wxfont font) construct a wxlistitemattr with the specified foreground and background colors and font.
wxlistitemattr::getbackgroundcolourconst wxcolour& getbackgroundcolour() const returns the currently set background color.
wxlistitemattr::getfontconst wxfont& getfont() const returns the currently set font.
wxlistitemattr::gettextcolourconst wxcolour& gettextcolour() const returns the currently set text color.
wxlistitemattr::hasbackgroundcolourbool hasbackgroundcolour() const returns true if the currently set background color is valid.
wxlistitemattr::hasfontbool hasfont() const returns true if the currently set font is valid.
wxlistitemattr::hastextcolourbool hastextcolour() const returns true if the currently set text color is valid.
wxlistitemattr::setbackgroundcolourvoid setbackgroundcolour(const wxcolour& colour) sets a new background color.
wxlistitemattr::setfontvoid setfont(const wxfont& font) sets a new font.
wxlistitemattr::settextcolourvoid settextcolour(const wxcolour& colour) sets a new text color.
|