]>
Commit | Line | Data |
---|---|---|
f4647740 RR |
1 | \section{\class{wxDataViewItemAttr}}\label{wxdataviewitemattr} |
2 | ||
3 | This class is used to indicate to a \helpref{wxDataViewCtrl}{wxdataviewctrl} | |
4 | that a certain \helpref{Item}{wxdataviewitem} has extra font attributes | |
5 | for its renderer. For this, it is required to override | |
6 | \helpref{wxDataViewModel::GetAttr}{wxdataviewmodelgetattr}. | |
7 | ||
8 | Attributes are currently only supported by | |
9 | \helpref{wxDataViewTextRendererText}{wxdataviewtextrendererattr}. | |
10 | ||
11 | \wxheading{Derived from} | |
12 | ||
13 | No base class | |
14 | ||
15 | \wxheading{Include files} | |
16 | ||
17 | <wx/dataview.h> | |
18 | ||
19 | \wxheading{Library} | |
20 | ||
21 | \helpref{wxAdv}{librarieslist} | |
22 | ||
23 | ||
24 | \wxheading{Data structures} | |
25 | ||
26 | \latexignore{\rtfignore{\wxheading{Members}}} | |
27 | ||
28 | ||
29 | \membersection{wxDataViewItemAttr::wxDataViewItemAttr}\label{wxdataviewitemattrwxdataviewitemattr} | |
30 | ||
31 | \func{}{wxDataViewItemAttr}{\void} | |
32 | ||
33 | Constructor. | |
34 | ||
35 | ||
36 | \membersection{wxDataViewItemAttr::SetBold}\label{wxdataviewitemattrsetbold} | |
37 | ||
38 | \func{void}{SetBold}{\param{bool }{set}} | |
39 | ||
40 | Call this to indicate that the item shall be displayed in bold text. | |
41 | ||
42 | \membersection{wxDataViewItemAttr::SetColour}\label{wxdataviewitemattrsetcolour} | |
43 | ||
44 | \func{void}{SetColour}{\param{const wxColour\& }{colour}} | |
45 | ||
46 | Call this to indicate that the item shall be displayed with | |
47 | that colour. | |
48 | ||
49 | \membersection{wxDataViewItemAttr::SetItalic}\label{wxdataviewitemattrsetitalic} | |
50 | ||
51 | \func{void}{SetItalic}{\param{bool }{set}} | |
52 | ||
53 | Call this to indicate that the item shall be displayed in italic text. | |
54 |