]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/dataviewmodelnotifier.tex
added null pointer check and assert
[wxWidgets.git] / docs / latex / wx / dataviewmodelnotifier.tex
1 \section{\class{wxDataViewModelNotifier}}\label{wxdataviewmodelnotifier}
2
3 A wxDataViewModelNotifier instance is owned by a
4 \helpref{wxDataViewModel}{wxdataviewmodel}
5 and mirrors its notification interface. See
6 the documentation of that class for further
7 information.
8
9 \wxheading{Derived from}
10
11 No base class
12
13 \wxheading{Include files}
14
15 <dataview.h>
16
17 \wxheading{Data structures}
18
19 \latexignore{\rtfignore{\wxheading{Members}}}
20
21
22 \membersection{wxDataViewModelNotifier::wxDataViewModelNotifier}\label{wxdataviewmodelnotifierwxdataviewmodelnotifier}
23
24 \func{}{wxDataViewModelNotifier}{\void}
25
26 Constructor.
27
28 \membersection{wxDataViewModelNotifier::\destruct{wxDataViewModelNotifier}}\label{wxdataviewmodelnotifierdtor}
29
30 \func{}{\destruct{wxDataViewModelNotifier}}{\void}
31
32 Destructor.
33
34 \membersection{wxDataViewModelNotifier::Cleared}\label{wxdataviewmodelnotifiercleared}
35
36 \func{bool}{Cleared}{\void}
37
38 Called by owning model.
39
40 \membersection{wxDataViewModelNotifier::GetOwner}\label{wxdataviewmodelnotifiergetowner}
41
42 \func{wxDataViewModel*}{GetOwner}{\void}
43
44 Get owning wxDataViewModel.
45
46 \membersection{wxDataViewModelNotifier::ItemAdded}\label{wxdataviewmodelnotifieritemadded}
47
48 \func{bool}{ItemAdded}{\param{const wxDataViewItem\& }{parent}, \param{const wxDataViewItem\& }{item}}
49
50 Called by owning model.
51
52 \membersection{wxDataViewModelNotifier::ItemChanged}\label{wxdataviewmodelnotifieritemchanged}
53
54 \func{bool}{ItemChanged}{\param{const wxDataViewItem\& }{item}}
55
56 Called by owning model.
57
58 \membersection{wxDataViewModelNotifier::ItemDeleted}\label{wxdataviewmodelnotifieritemdeleted}
59
60 \func{bool}{ItemDeleted}{\param{const wxDataViewItem\& }{parent}, \param{const wxDataViewItem\& }{item}}
61
62 Called by owning model.
63
64 \membersection{wxDataViewModelNotifier::ItemsAdded}\label{wxdataviewmodelnotifieritemsadded}
65
66 \func{bool}{ItemsAdded}{\param{const wxDataViewItem\& }{parent}, \param{const wxDataViewItemArray\& }{items}}
67
68 Called by owning model.
69
70 \membersection{wxDataViewModelNotifier::ItemsChanged}\label{wxdataviewmodelnotifieritemschanged}
71
72 \func{bool}{ItemsChanged}{\param{const wxDataViewItemArray\& }{items}}
73
74 Called by owning model.
75
76 \membersection{wxDataViewModelNotifier::ItemsDeleted}\label{wxdataviewmodelnotifieritemsdeleted}
77
78 \func{bool}{ItemsDeleted}{\param{const wxDataViewItem\& }{parent}, \param{const wxDataViewItemArray\& }{items}}
79
80 Called by owning model.
81
82 \membersection{wxDataViewModelNotifier::Resort}\label{wxdataviewmodelnotifierresort}
83
84 \func{void}{Resort}{\void}
85
86 Called by owning model.
87
88 \membersection{wxDataViewModelNotifier::SetOwner}\label{wxdataviewmodelnotifiersetowner}
89
90 \func{void}{SetOwner}{\param{wxDataViewModel* }{owner}}
91
92 Set owner of this notifier. Used internally.
93
94 \membersection{wxDataViewModelNotifier::ValueChanged}\label{wxdataviewmodelnotifiervaluechanged}
95
96 \func{bool}{ValueChanged}{\param{const wxDataViewItem\& }{item}, \param{unsigned int }{col}}
97
98 Called by owning model.