1 \section{\class{wxListItemAttr
}}\label{wxListItemAttr
}
3 Represents the attributes (
color, font,
\ldots) of a
4 \helpref{wxListCtrl
}{wxlistctrl
} \helpref{wxListItem
}{wxlistctrl
}.
6 \wxheading{Include files
}
12 \helpref{wxListCtrl overview
}{wxlistctrloverview
},
\helpref{wxListCtrl
}{wxlistctrl
},
\helpref{wxListItem
}{wxlistitem
}
14 \latexignore{\rtfignore{\wxheading{Members
}}}
16 \membersection{wxListItemAttr::wxListItemAttr
}\label{wxlistitemattrctor
}
18 \func{}{wxListItemAttr
}{\void}
22 \func{}{wxListItemAttr
}{\param{const wxColour&
}{ colText
},
\param{const wxColour&
}{ colBack
},
\param{const wxFont&
}{ font
}}
24 Construct a wxListItemAttr with the specified foreground and
25 background colors and font.
27 \membersection{wxListItemAttr::GetBackgroundColour
}\label{wxlistitemattrgetbackgroundcolour
}
29 \constfunc{const wxColour\&
}{GetBackgroundColour
}{\void}
31 Returns the currently set background
color.
34 \membersection{wxListItemAttr::GetFont
}\label{wxlistitemattrgetfont
}
36 \constfunc{const wxFont\&
}{GetFont
}{\void}
38 Returns the currently set font.
41 \membersection{wxListItemAttr::GetTextColour
}\label{wxlistitemattrgettextcolour
}
42 \constfunc{const wxColour\&
}{GetTextColour
}{\void}
44 Returns the currently set text
color.
47 \membersection{wxListItemAttr::HasBackgroundColour
}\label{wxlistitemattrhasbackgroundcolour
}
49 \constfunc{bool
}{HasBackgroundColour
}{\void}
51 Returns
\true if the currently set background
color is valid.
54 \membersection{wxListItemAttr::HasFont
}\label{wxlistitemattrhasfont
}
56 \constfunc{bool
}{HasFont
}{\void}
58 Returns
\true if the currently set font is valid.
61 \membersection{wxListItemAttr::HasTextColour
}\label{wxlistitemattrhastextcolour
}
63 \constfunc{bool
}{HasTextColour
}{\void}
65 Returns
\true if the currently set text
color is valid.
68 \membersection{wxListItemAttr::SetBackgroundColour
}\label{wxlistitemattrsetbackgroundcolour
}
70 \func{void
}{SetBackgroundColour
}{\param{const wxColour\&
}{colour
}}
72 Sets a new background
color.
75 \membersection{wxListItemAttr::SetFont
}\label{wxlistitemattrsetfont
}
77 \func{void
}{SetFont
}{\param{const wxFont\&
}{font
}}
82 \membersection{wxListItemAttr::SetTextColour
}\label{wxlistitemattrsettextcolour
}
83 \func{void
}{SetTextColour
}{\param{const wxColour\&
}{colour
}}
85 Sets a new text
color.