]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/dataviewitemattr.tex
Patches-1851591 ] dataview sample is crashing (under MSW)
[wxWidgets.git] / docs / latex / wx / dataviewitemattr.tex
CommitLineData
f4647740
RR
1\section{\class{wxDataViewItemAttr}}\label{wxdataviewitemattr}
2
3This class is used to indicate to a \helpref{wxDataViewCtrl}{wxdataviewctrl}
4that a certain \helpref{Item}{wxdataviewitem} has extra font attributes
5for its renderer. For this, it is required to override
6\helpref{wxDataViewModel::GetAttr}{wxdataviewmodelgetattr}.
7
8Attributes are currently only supported by
9\helpref{wxDataViewTextRendererText}{wxdataviewtextrendererattr}.
10
11\wxheading{Derived from}
12
13No 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
33Constructor.
34
35
36\membersection{wxDataViewItemAttr::SetBold}\label{wxdataviewitemattrsetbold}
37
38\func{void}{SetBold}{\param{bool }{set}}
39
40Call 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
46Call this to indicate that the item shall be displayed with
47that colour.
48
49\membersection{wxDataViewItemAttr::SetItalic}\label{wxdataviewitemattrsetitalic}
50
51\func{void}{SetItalic}{\param{bool }{set}}
52
53Call this to indicate that the item shall be displayed in italic text.
54