Hi,
Reading Manning’s book, chapter 13 (Building list controls and managing items), I’m unclear if wx.ListCtrl should support cut-and-paste (as is).
I have a ListCtrl subclass, that I want to have cut-and-paste capabilities.
Looking at http://www.wxpython.org/docs/api/wx.ListCtrl-class.html (et. al.), I don’t see that ListCtrl has any methods for cut-and-paste.
- Am I not looking in the correct place (or am I misunderstanding), and wx.ListCtrl does support cut-and-paste ?
- Is there another subclass of ListCtrl that does support cut-and-paste ?
Or, a more general question:
Can cut-and-paste be added to a wxPython application globally, namely, have Ctrl-Insert/Shift-Insert (or Ctrl-c/Ctrl-v on Windows) be supported on any widget ?
Could you point to any examples on implementing cut-and-paste, as I’m not sure I can apply Manning’s chapter 18’s (Using other wxPython functionality) example to my application.
Thanks,
Ron.
P.S.: Robin Dunn suggests that one could define Ctrl-Insert/Shift-Insert as menu accelerators and then
catch them as menu events.
Could there be a more streight forward way to do cut-and-paste ?