Phoenix Logo

phoenix_title wx.dataview.DataViewModelNotifier

A wx.dataview.DataViewModelNotifier instance is owned by a wx.dataview.DataViewModel and mirrors its notification interface.

See the documentation of that class for further information.


class_hierarchy Class Hierarchy

Inheritance diagram for class DataViewModelNotifier:


method_summary Methods Summary

__init__ Constructor.
Cleared Called by owning model.
GetOwner Get owning wx.dataview.DataViewModel.
ItemAdded Called by owning model.
ItemChanged Called by owning model.
ItemDeleted Called by owning model.
ItemsAdded Called by owning model.
ItemsChanged Called by owning model.
ItemsDeleted Called by owning model.
Resort Called by owning model.
SetOwner Set owner of this notifier.
ValueChanged Called by owning model.

property_summary Properties Summary

Owner See GetOwner and SetOwner

api Class API



class wx.dataview.DataViewModelNotifier(object)

Possible constructors:

DataViewModelNotifier()

A DataViewModelNotifier instance is owned by a DataViewModel and mirrors its notification interface.


Methods



__init__(self)

Constructor.



Cleared(self)

Called by owning model.

Return type:bool


GetOwner(self)

Get owning wx.dataview.DataViewModel.

Return type: wx.dataview.DataViewModel


ItemAdded(self, parent, item)

Called by owning model.

Parameters:
Return type:

bool

Returns:

Always return True from this function in derived classes.



ItemChanged(self, item)

Called by owning model.

Parameters:item (wx.dataview.DataViewItem) –
Return type:bool
Returns:Always return True from this function in derived classes.


ItemDeleted(self, parent, item)

Called by owning model.

Parameters:
Return type:

bool

Returns:

Always return True from this function in derived classes.



ItemsAdded(self, parent, items)

Called by owning model.

Parameters:
Return type:

bool

Returns:

Always return True from this function in derived classes.



ItemsChanged(self, items)

Called by owning model.

Parameters:items (DataViewItemArray) –
Return type:bool
Returns:Always return True from this function in derived classes.


ItemsDeleted(self, parent, items)

Called by owning model.

Parameters:
Return type:

bool

Returns:

Always return True from this function in derived classes.



Resort(self)

Called by owning model.



SetOwner(self, owner)

Set owner of this notifier.

Used internally.

Parameters:owner (wx.dataview.DataViewModel) –


ValueChanged(self, item, col)

Called by owning model.

Parameters:
Return type:

bool

Returns:

Always return True from this function in derived classes.


Properties



Owner

See GetOwner and SetOwner