]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/listattr.tex
implemented wxNotificationMessage for wxMSW using wxTaskBarIcon and fallback to gener...
[wxWidgets.git] / docs / latex / wx / listattr.tex
1 \section{\class{wxListItemAttr}}\label{wxlistitemattr}
2
3 Represents 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
20 Default constructor.
21
22 \func{}{wxListItemAttr}{\param{const wxColour&}{ colText}, \param{const wxColour&}{ colBack}, \param{const wxFont&}{ font}}
23
24 Construct a wxListItemAttr with the specified foreground and
25 background colors and font.
26
27 \membersection{wxListItemAttr::GetBackgroundColour}\label{wxlistitemattrgetbackgroundcolour}
28
29 \constfunc{const wxColour\&}{GetBackgroundColour}{\void}
30
31 Returns the currently set background color.
32
33
34 \membersection{wxListItemAttr::GetFont}\label{wxlistitemattrgetfont}
35
36 \constfunc{const wxFont\&}{GetFont}{\void}
37
38 Returns the currently set font.
39
40
41 \membersection{wxListItemAttr::GetTextColour}\label{wxlistitemattrgettextcolour}
42
43 \constfunc{const wxColour\&}{GetTextColour}{\void}
44
45 Returns the currently set text color.
46
47
48 \membersection{wxListItemAttr::HasBackgroundColour}\label{wxlistitemattrhasbackgroundcolour}
49
50 \constfunc{bool}{HasBackgroundColour}{\void}
51
52 Returns \true if the currently set background color is valid.
53
54
55 \membersection{wxListItemAttr::HasFont}\label{wxlistitemattrhasfont}
56
57 \constfunc{bool}{HasFont}{\void}
58
59 Returns \true if the currently set font is valid.
60
61
62 \membersection{wxListItemAttr::HasTextColour}\label{wxlistitemattrhastextcolour}
63
64 \constfunc{bool}{HasTextColour}{\void}
65
66 Returns \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
73 Sets a new background color.
74
75
76 \membersection{wxListItemAttr::SetFont}\label{wxlistitemattrsetfont}
77
78 \func{void}{SetFont}{\param{const wxFont\& }{font}}
79
80 Sets a new font.
81
82
83 \membersection{wxListItemAttr::SetTextColour}\label{wxlistitemattrsettextcolour}
84
85 \func{void}{SetTextColour}{\param{const wxColour\& }{colour}}
86
87 Sets a new text color.
88