]>
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 | ||
6af3eec2 RR |
64 | \membersection{wxDataViewEvent::GetPosition}\label{wxdatavieweventgetposition} |
65 | ||
66 | \constfunc{wxPoint}{GetPosition}{\void} | |
67 | ||
68 | Returns a the position of a context menu event in screen coordinates. | |
69 | ||
70 | ||
b6b9d556 RR |
71 | \membersection{wxDataViewEvent::GetValue}\label{wxdatavieweventgetvalue} |
72 | ||
73 | \constfunc{const wxVariant\&}{GetValue}{\void} | |
74 | ||
6608fdab | 75 | Returns a reference to a value. |
b6b9d556 RR |
76 | |
77 | ||
78 | \membersection{wxDataViewEvent::SetColumn}\label{wxdatavieweventsetcolumn} | |
79 | ||
80 | \func{void}{SetColumn}{\param{int }{col}} | |
81 | ||
82 | ||
83 | \membersection{wxDataViewEvent::SetDataViewColumn}\label{wxdatavieweventsetdataviewcolumn} | |
84 | ||
85 | \func{void}{SetDataViewColumn}{\param{wxDataViewColumn* }{col}} | |
86 | ||
87 | For wxEVT\_DATAVIEW\_COLUMN\_HEADER\_CLICKED only. | |
88 | ||
89 | ||
b6b9d556 RR |
90 | \membersection{wxDataViewEvent::SetModel}\label{wxdatavieweventsetmodel} |
91 | ||
92 | \func{void}{SetModel}{\param{wxDataViewModel* }{model}} | |
93 | ||
94 | ||
b6b9d556 RR |
95 | |
96 | \membersection{wxDataViewEvent::SetValue}\label{wxdatavieweventsetvalue} | |
97 | ||
98 | \func{void}{SetValue}{\param{const wxVariant\& }{value}} | |
99 |