Undo/Redo framework for wxPython?

Hi guys,

Anyone has done a program applying Undo/Redo functionality in wxPython? Any ideas/lesson that can be shared?

I need it especially for TreeCtrl item population but it’s not restricted to. It seems that the Command command can be somewhat used for Umdo/Redo but I did not see any example.

http://wxpython.org/Phoenix/docs/html/command_overview.html#command-overview

Can anyone share insight if Command would be useful?

Thanks,

Emad

I have recently developed a substantial app using wxPython that implements full undo/redo. Happy to share methodology and code if that would be helpful. Please email me via peterslistening – gmail.

···

On Sunday, 5 June 2016 13:07:28 UTC+8, Emad Dlala wrote:

Hi guys,

Anyone has done a program applying Undo/Redo functionality in wxPython? Any ideas/lesson that can be shared?

I need it especially for TreeCtrl item population but it’s not restricted to. It seems that the Command command can be somewhat used for Umdo/Redo but I did not see any example.

http://wxpython.org/Phoenix/docs/html/command_overview.html#command-overview

Can anyone share insight if Command would be useful?

Thanks,

Emad

Thanks Peter. I’m sure it’ll be useful to see your implementation.

I have also done my implementation that was inspired by an example found online. It’s attached. It works great and can be used for global command Undo/Redo manager.

x_UNDO_5.py (4.42 KB)

···

On Wed, Jun 8, 2016 at 6:11 PM, Peter Clarke peterslistening@gmail.com wrote:

I have recently developed a substantial app using wxPython that implements full undo/redo. Happy to share methodology and code if that would be helpful. Please email me via peterslistening – gmail.

On Sunday, 5 June 2016 13:07:28 UTC+8, Emad Dlala wrote:

Hi guys,

Anyone has done a program applying Undo/Redo functionality in wxPython? Any ideas/lesson that can be shared?

I need it especially for TreeCtrl item population but it’s not restricted to. It seems that the Command command can be somewhat used for Umdo/Redo but I did not see any example.

http://wxpython.org/Phoenix/docs/html/command_overview.html#command-overview

Can anyone share insight if Command would be useful?

Thanks,

Emad

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.