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.
|