]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/listattr.tex
minor corrections and note about Unicode (patch 1555691)
[wxWidgets.git] / docs / latex / wx / listattr.tex
CommitLineData
4884b02b 1\section{\class{wxListItemAttr}}\label{wxlistitemattr}
af90bd48
MB
2
3Represents the attributes (color, font, \ldots) of a
4\helpref{wxListCtrl}{wxlistctrl} \helpref{wxListItem}{wxlistctrl}.
5
6\wxheading{Include files}
7
8<wx/listctrl.h>
9
10\wxheading{See also}
11
12\helpref{wxListCtrl overview}{wxlistctrloverview}, \helpref{wxListCtrl}{wxlistctrl}, \helpref{wxListItem}{wxlistitem}
13
14\latexignore{\rtfignore{\wxheading{Members}}}
15
16\membersection{wxListItemAttr::wxListItemAttr}\label{wxlistitemattrctor}
17
18\func{}{wxListItemAttr}{\void}
19
20Default constructor.
21
22\func{}{wxListItemAttr}{\param{const wxColour&}{ colText}, \param{const wxColour&}{ colBack}, \param{const wxFont&}{ font}}
23
24Construct a wxListItemAttr with the specified foreground and
25background colors and font.
26
27\membersection{wxListItemAttr::GetBackgroundColour}\label{wxlistitemattrgetbackgroundcolour}
28
29\constfunc{const wxColour\&}{GetBackgroundColour}{\void}
30
31Returns the currently set background color.
32
33
34\membersection{wxListItemAttr::GetFont}\label{wxlistitemattrgetfont}
35
36\constfunc{const wxFont\&}{GetFont}{\void}
37
38Returns the currently set font.
39
40
41\membersection{wxListItemAttr::GetTextColour}\label{wxlistitemattrgettextcolour}
4884b02b 42
af90bd48
MB
43\constfunc{const wxColour\&}{GetTextColour}{\void}
44
45Returns the currently set text color.
46
47
48\membersection{wxListItemAttr::HasBackgroundColour}\label{wxlistitemattrhasbackgroundcolour}
49
50\constfunc{bool}{HasBackgroundColour}{\void}
51
52Returns \true if the currently set background color is valid.
53
54
55\membersection{wxListItemAttr::HasFont}\label{wxlistitemattrhasfont}
56
57\constfunc{bool}{HasFont}{\void}
58
59Returns \true if the currently set font is valid.
60
61
62\membersection{wxListItemAttr::HasTextColour}\label{wxlistitemattrhastextcolour}
63
64\constfunc{bool}{HasTextColour}{\void}
65
66Returns \true if the currently set text color is valid.
67
68
69\membersection{wxListItemAttr::SetBackgroundColour}\label{wxlistitemattrsetbackgroundcolour}
70
71\func{void}{SetBackgroundColour}{\param{const wxColour\& }{colour}}
72
73Sets a new background color.
74
75
76\membersection{wxListItemAttr::SetFont}\label{wxlistitemattrsetfont}
77
78\func{void}{SetFont}{\param{const wxFont\& }{font}}
79
80Sets a new font.
81
82
83\membersection{wxListItemAttr::SetTextColour}\label{wxlistitemattrsettextcolour}
4884b02b 84
af90bd48
MB
85\func{void}{SetTextColour}{\param{const wxColour\& }{colour}}
86
87Sets a new text color.
095e0f91 88