]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/dataviewevent.tex
added null pointer check and assert
[wxWidgets.git] / docs / latex / wx / dataviewevent.tex
1
2 \section{\class{wxDataViewEvent}}\label{wxdataviewevent}
3
4
5 wxDataViewEvent - the event class for the wxDataViewCtrl notifications
6
7
8 \wxheading{Derived from}
9
10 \helpref{wxNotifyEvent}{wxnotifyevent}\\
11 \helpref{wxCommandEvent}{wxcommandevent}\\
12 \helpref{wxEvent}{wxevent}\\
13 \helpref{wxObject}{wxobject}
14
15 \wxheading{Include files}
16
17 <wx/dataview.h>
18
19 \wxheading{Library}
20
21 \helpref{wxAdv}{librarieslist}
22
23
24 \latexignore{\rtfignore{\wxheading{Members}}}
25
26 \membersection{wxDataViewEvent::wxDataViewEvent}\label{wxdatavieweventwxdataviewevent}
27
28 \func{}{wxDataViewEvent}{\param{wxEventType }{commandType = wxEVT\_NULL}, \param{int }{winid = 0}}
29
30
31 \func{}{wxDataViewEvent}{\param{const wxDataViewEvent\& }{event}}
32
33
34 \membersection{wxDataViewEvent::Clone}\label{wxdatavieweventclone}
35
36 \constfunc{wxEvent*}{Clone}{\void}
37
38 Used to clone the event.
39
40
41 \membersection{wxDataViewEvent::GetColumn}\label{wxdatavieweventgetcolumn}
42
43 \constfunc{int}{GetColumn}{\void}
44
45 Returns the position of the column in the control or -1
46 if no column field was set by the event emitter.
47
48
49 \membersection{wxDataViewEvent::GetDataViewColumn}\label{wxdatavieweventgetdataviewcolumn}
50
51 \func{wxDataViewColumn*}{GetDataViewColumn}{\void}
52
53 Returns a pointer to the wxDataViewColumn from which
54 the event was emitted or NULL.
55
56
57 \membersection{wxDataViewEvent::GetModel}\label{wxdatavieweventgetmodel}
58
59 \constfunc{wxDataViewModel*}{GetModel}{\void}
60
61 Returns the wxDataViewModel associated with the event.
62
63
64 \membersection{wxDataViewEvent::GetValue}\label{wxdatavieweventgetvalue}
65
66 \constfunc{const wxVariant\&}{GetValue}{\void}
67
68 Returns a reference to a value.
69
70
71 \membersection{wxDataViewEvent::SetColumn}\label{wxdatavieweventsetcolumn}
72
73 \func{void}{SetColumn}{\param{int }{col}}
74
75
76 \membersection{wxDataViewEvent::SetDataViewColumn}\label{wxdatavieweventsetdataviewcolumn}
77
78 \func{void}{SetDataViewColumn}{\param{wxDataViewColumn* }{col}}
79
80 For wxEVT\_DATAVIEW\_COLUMN\_HEADER\_CLICKED only.
81
82
83 \membersection{wxDataViewEvent::SetModel}\label{wxdatavieweventsetmodel}
84
85 \func{void}{SetModel}{\param{wxDataViewModel* }{model}}
86
87
88
89 \membersection{wxDataViewEvent::SetValue}\label{wxdatavieweventsetvalue}
90
91 \func{void}{SetValue}{\param{const wxVariant\& }{value}}
92