Any Pythonic GTK Undo library?

Discussion in 'Python' started by Tony Nelson, Oct 29, 2005.

  1. Tony Nelson

    Tony Nelson Guest

    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/>
    Tony Nelson, Oct 29, 2005
    #1
    1. Advertising

  2. Tony Nelson

    Dave Cook Guest

    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
    Dave Cook, Oct 29, 2005
    #2
    1. Advertising

  3. Tony Nelson

    Tony Nelson Guest

    In article <>,
    Dave Cook <> 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/>
    Tony Nelson, Oct 29, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. James
    Replies:
    1
    Views:
    722
    Alan Kennedy
    Dec 12, 2005
  2. Carl J. Van Arsdall
    Replies:
    4
    Views:
    497
    Bruno Desthuilliers
    Feb 7, 2006
  3. Replies:
    2
    Views:
    516
  4. Gergely Kontra
    Replies:
    2
    Views:
    248
    Joao Pedrosa
    Jun 18, 2004
  5. Alex Shulgin
    Replies:
    1
    Views:
    176
    thefed
    Nov 21, 2007
Loading...

Share This Page