By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,621 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,621 IT Pros & Developers. It's quick & easy.

Any Pythonic GTK Undo library?

P: n/a
I'm looking for a "pythonic" GTK Undo library/class. It would have a
framework for Undo/Redo, and would provide Undo/Redo for TextView,
Entry, and containers and other classes. In a "batteries included"
fashion, just instantiating a "UndoableTextView" or "UndoableEntry" or
"UndoableContainer" would provide Undo and Redo in the right-click menu;
simply connecting such an object to an "UndoableUIManager" would take
care of the stock items in the menus and toolbar; and there would be a
simple connection to some sort of "UndoableDocument" interface or mix-in
for more global sequencing of Undo/Redo. Does something like this exist
for Python or GTK? Googling didn't turn up anything useful.

I'm disappointed that GTK doesn't do this already. Making my own seems
doable, but a fair amount of work. If there isn't some such thing
already, is there interest in using one that I make?

I know about GUndo, which doesn't implement any actual undo operations;
the actual operations would need to be coded for TextView and Entry and
anything else.
__________________________________________________ ______________________
TonyN.:' *firstname*nlsnews@georgea*lastname*.com
' <http://www.georgeanelson.com/>
Oct 29 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On 2005-10-29, Tony Nelson <*firstname*nlsnews@georgea*lastname*.com> wrote:
I'm looking for a "pythonic" GTK Undo library/class. It would have a


You might ask the authors of Kiwi if they plan to add undo/redo. Or help
them add it if you can.

http://www.async.com.br/projects/kiwi/

It would be great to have this feature in the Gtk C API, though. I do see
some relevant bugzilla entries:

http://bugzilla.gnome.org/show_bug.cgi?id=316551

You might want to make a new request for a general undo/redo interface.

Dave Cook
Oct 29 '05 #2

P: n/a
In article <sl*********************@localhost.localdomain>,
Dave Cook <da******@nowhere.net> wrote:
On 2005-10-29, Tony Nelson <*firstname*nlsnews@georgea*lastname*.com> wrote:
I'm looking for a "pythonic" GTK Undo library/class. It would have a
You might ask the authors of Kiwi if they plan to add undo/redo. Or help
them add it if you can.

http://www.async.com.br/projects/kiwi/


Well, after I implement it myself, if I do, I could give them the code
to port to kiwi.

It would be great to have this feature in the Gtk C API, though. I do see
some relevant bugzilla entries:

http://bugzilla.gnome.org/show_bug.cgi?id=316551

You might want to make a new request for a general undo/redo interface.


Well, after I implement it myself, if I do, I could give them the code
to translate to C.
__________________________________________________ ______________________
TonyN.:' *firstname*nlsnews@georgea*lastname*.com
' <http://www.georgeanelson.com/>
Oct 29 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.