]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/dataviewevent.tex
documentation for window ids allocation and wxIdManager (patch 1870570)
[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::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
71 \membersection{wxDataViewEvent::GetValue}\label{wxdatavieweventgetvalue}
72
73 \constfunc{const wxVariant\&}{GetValue}{\void}
74
75 Returns a reference to a value.
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
90 \membersection{wxDataViewEvent::SetModel}\label{wxdatavieweventsetmodel}
91
92 \func{void}{SetModel}{\param{wxDataViewModel* }{model}}
93
94
95
96 \membersection{wxDataViewEvent::SetValue}\label{wxdatavieweventsetvalue}
97
98 \func{void}{SetValue}{\param{const wxVariant\& }{value}}
99