469,329 Members | 1,425 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,329 developers. It's quick & easy.

Any Pythonic GTK Undo library?

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
2 1920
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
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.

Similar topics

1 post views Thread by s-galit | last post: by
2 posts views Thread by Lyn | last post: by
33 posts views Thread by Gregory Petrosyan | last post: by
reply views Thread by wizard of oz | last post: by
1 post views Thread by Jeremy | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.