]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/dataviewitem.tex
remove _ from labels
[wxWidgets.git] / docs / latex / wx / dataviewitem.tex
CommitLineData
4f76c1a2
RR
1
2\section{\class{wxDataViewItem}}\label{wxdataviewitem}
3
4wxDataViewItem is a small opaque class that represents an
5item in a \helpref{wxDataViewCtrl}{wxdataviewctrl} in a
6persistent way, i.e. indepent of the position of the
7item in the control or changes to its contents. It must
8hold a unique ID of type {\it void*} in its only field
9and can be converted to a from it.
10
11If the ID is {\it NULL} the wxDataViewItem is invalid and
12\helpref{IsOk}{wxdataviewitemisok} will return {\it false}
13which used in many places in the API of wxDataViewCtrl
14to indicate that e.g. no item was found etc.
15
16\wxheading{Derived from}
17
18No base class
19
20\wxheading{Include files}
21
22<dataview.h>
23
24\wxheading{Data structures}
25
26\latexignore{\rtfignore{\wxheading{Members}}}
27
28
29\membersection{wxDataViewItem::wxDataViewItem}\label{wxdataviewitemwxdataviewitem}
30
31\func{}{wxDataViewItem}{\param{void* }{id = NULL}}
32
33Constructor.
34
35\func{}{wxDataViewItem}{\param{const wxDataViewItem\& }{item}}
36
37
38\membersection{wxDataViewItem::GetID}\label{wxdataviewitemgetid}
39
40\constfunc{void*}{GetID}{\void}
41
42Returns the ID.
43
44\membersection{wxDataViewItem::IsOk}\label{wxdataviewitemisok}
45
46\constfunc{bool}{IsOk}{\void}
47
48Returns true if the ID is not {\it NULL}.
49
50\membersection{wxDataViewItem::void*}\label{wxdataviewitemvoid*}
51
52\constfunc{operator const}{void*}{\void}
53
54Converts to {\it void*}.