Phoenix Logo

phoenix_title wx.lib.mixins.listctrl.ListCtrlSelectionManagerMix

Mixin that defines a platform independent selection policy

As selection single and multi-select list return the item index or a list of item indexes respectively.


class_hierarchy Class Hierarchy

Inheritance diagram for class ListCtrlSelectionManagerMix:

method_summary Methods Summary

__init__  
afterPopupMenu Override to implement dynamic menus (destroy)
getPopupMenu Override to implement dynamic menus (create)
getSelection  
OnLCSMDoPopup  
OnLCSMRightDown  
setPopupMenu Must be set for default behaviour

api Class API



class ListCtrlSelectionManagerMix

Mixin that defines a platform independent selection policy

As selection single and multi-select list return the item index or a list of item indexes respectively.


Methods



__init__(self)


afterPopupMenu(self, menu)

Override to implement dynamic menus (destroy)



getPopupMenu(self)

Override to implement dynamic menus (create)



getSelection(self)


OnLCSMDoPopup(self, event)


OnLCSMRightDown(self, event)


setPopupMenu(self, menu)

Must be set for default behaviour