]>
Commit | Line | Data |
---|---|---|
b6b9d556 RR |
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 | ||
7376079d VZ |
10 | \helpref{wxNotifyEvent}{wxnotifyevent}\\ |
11 | \helpref{wxCommandEvent}{wxcommandevent}\\ | |
12 | \helpref{wxEvent}{wxevent}\\ | |
13 | \helpref{wxObject}{wxobject} | |
b6b9d556 RR |
14 | |
15 | \wxheading{Include files} | |
16 | ||
17 | <wx/dataview.h> | |
18 | ||
a7af285d VZ |
19 | \wxheading{Library} |
20 | ||
21 | \helpref{wxAdv}{librarieslist} | |
22 | ||
b6b9d556 | 23 | |
809e21b5 FM |
24 | \latexignore{\rtfignore{\wxheading{Members}}} |
25 | ||
b6b9d556 RR |
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 | ||
6608fdab RR |
38 | Used to clone the event. |
39 | ||
b6b9d556 RR |
40 | |
41 | \membersection{wxDataViewEvent::GetColumn}\label{wxdatavieweventgetcolumn} | |
42 | ||
43 | \constfunc{int}{GetColumn}{\void} | |
44 | ||
6608fdab RR |
45 | Returns the position of the column in the control or -1 |
46 | if no column field was set by the event emitter. | |
47 | ||
b6b9d556 RR |
48 | |
49 | \membersection{wxDataViewEvent::GetDataViewColumn}\label{wxdatavieweventgetdataviewcolumn} | |
50 | ||
51 | \func{wxDataViewColumn*}{GetDataViewColumn}{\void} | |
52 | ||
6608fdab RR |
53 | Returns a pointer to the wxDataViewColumn from which |
54 | the event was emitted or NULL. | |
55 | ||
b6b9d556 RR |
56 | |
57 | \membersection{wxDataViewEvent::GetModel}\label{wxdatavieweventgetmodel} | |
58 | ||
59 | \constfunc{wxDataViewModel*}{GetModel}{\void} | |
60 | ||
6608fdab | 61 | Returns the wxDataViewModel associated with the event. |
b6b9d556 RR |
62 | |
63 | ||
64 | \membersection{wxDataViewEvent::GetValue}\label{wxdatavieweventgetvalue} | |
65 | ||
66 | \constfunc{const wxVariant\&}{GetValue}{\void} | |
67 | ||
6608fdab | 68 | Returns a reference to a value. |
b6b9d556 RR |
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 | ||
b6b9d556 RR |
83 | \membersection{wxDataViewEvent::SetModel}\label{wxdatavieweventsetmodel} |
84 | ||
85 | \func{void}{SetModel}{\param{wxDataViewModel* }{model}} | |
86 | ||
87 | ||
b6b9d556 RR |
88 | |
89 | \membersection{wxDataViewEvent::SetValue}\label{wxdatavieweventsetvalue} | |
90 | ||
91 | \func{void}{SetValue}{\param{const wxVariant\& }{value}} | |
92 |