A wxDataViewModelNotifier that runs a callback whenever the model removes items or resets.
More...
#include <wx_dataviewctrl.h>
A wxDataViewModelNotifier that runs a callback whenever the model removes items or resets.
WX_DATAVIEWCTRL installs one so a deferred EnsureVisible (see WX_DATAVIEWCTRL::CancelPendingEnsureVisible) drops automatically as the model frees items, rather than relying on every model-mutation site to cancel it by hand.
Definition at line 35 of file wx_dataviewctrl.h.
◆ WX_ENSURE_VISIBLE_CANCELLER()
| WX_ENSURE_VISIBLE_CANCELLER::WX_ENSURE_VISIBLE_CANCELLER |
( |
std::function< void()> | aOnItemsRemoved | ) |
|
|
inlineexplicit |
◆ BeforeReset()
| bool WX_ENSURE_VISIBLE_CANCELLER::BeforeReset |
( |
| ) |
|
|
inlineoverride |
◆ Cleared()
| bool WX_ENSURE_VISIBLE_CANCELLER::Cleared |
( |
| ) |
|
|
inlineoverride |
◆ ItemAdded()
| bool WX_ENSURE_VISIBLE_CANCELLER::ItemAdded |
( |
const wxDataViewItem & | , |
|
|
const wxDataViewItem & | ) |
|
inlineoverride |
◆ ItemChanged()
| bool WX_ENSURE_VISIBLE_CANCELLER::ItemChanged |
( |
const wxDataViewItem & | | ) |
|
|
inlineoverride |
◆ ItemDeleted()
| bool WX_ENSURE_VISIBLE_CANCELLER::ItemDeleted |
( |
const wxDataViewItem & | , |
|
|
const wxDataViewItem & | ) |
|
inlineoverride |
◆ ItemsDeleted()
| bool WX_ENSURE_VISIBLE_CANCELLER::ItemsDeleted |
( |
const wxDataViewItem & | , |
|
|
const wxDataViewItemArray & | ) |
|
inlineoverride |
◆ Resort()
| void WX_ENSURE_VISIBLE_CANCELLER::Resort |
( |
| ) |
|
|
inlineoverride |
◆ ValueChanged()
| bool WX_ENSURE_VISIBLE_CANCELLER::ValueChanged |
( |
const wxDataViewItem & | , |
|
|
unsigned int | ) |
|
inlineoverride |
◆ m_onItemsRemoved
| std::function<void()> WX_ENSURE_VISIBLE_CANCELLER::m_onItemsRemoved |
|
private |
The documentation for this class was generated from the following file: