]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/listattr.tex
added wxString::EndsWith() (patch 1483049)
[wxWidgets.git] / docs / latex / wx / listattr.tex
... / ...
CommitLineData
1\section{\class{wxListItemAttr}}\label{wxlistitemattr}
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}
42
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}
84
85\func{void}{SetTextColour}{\param{const wxColour\& }{colour}}
86
87Sets a new text color.
88