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
}
43 \constfunc{const wxColour\&
}{GetTextColour
}{\void}
45 Returns the currently set text
color.
48 \membersection{wxListItemAttr::HasBackgroundColour
}\label{wxlistitemattrhasbackgroundcolour
}
50 \constfunc{bool
}{HasBackgroundColour
}{\void}
52 Returns
\true if the currently set background
color is valid.
55 \membersection{wxListItemAttr::HasFont
}\label{wxlistitemattrhasfont
}
57 \constfunc{bool
}{HasFont
}{\void}
59 Returns
\true if the currently set font is valid.
62 \membersection{wxListItemAttr::HasTextColour
}\label{wxlistitemattrhastextcolour
}
64 \constfunc{bool
}{HasTextColour
}{\void}
66 Returns
\true if the currently set text
color is valid.
69 \membersection{wxListItemAttr::SetBackgroundColour
}\label{wxlistitemattrsetbackgroundcolour
}
71 \func{void
}{SetBackgroundColour
}{\param{const wxColour\&
}{colour
}}
73 Sets a new background
color.
76 \membersection{wxListItemAttr::SetFont
}\label{wxlistitemattrsetfont
}
78 \func{void
}{SetFont
}{\param{const wxFont\&
}{font
}}
83 \membersection{wxListItemAttr::SetTextColour
}\label{wxlistitemattrsettextcolour
}
85 \func{void
}{SetTextColour
}{\param{const wxColour\&
}{colour
}}
87 Sets a new text
color.