Re: Generic undo stack for GTK+
- From: Martin Nordholts <enselic gmail com>
- To: gtk-devel-list gnome org
- Subject: Re: Generic undo stack for GTK+
- Date: Wed, 16 Jun 2010 22:28:43 +0200
On 06/16/2010 10:01 PM, Holger Berndt wrote:
Some time ago, there was some discussion about a generic undo stack in
GTK+ . The talk back then didn't result in more concrete API
discussion. As undo/redo is part of the GTK+ Roadmap , I now shot
ahead and created an undo proposal page  for that. Comments are very
I think it would be unfortunate to limit the generic undo mechanism to a
stack, when full preservation of undo-version controlled data requires a
In the above tree, 4 revisions are created, then two undos are made, and
then two new revisions are created from revisions 2. You don't want to
end up with the undo stack
and lose 3 and 4.
Having a sane UI for this is a different matter, maybe most applications
would only use the simpler stack based undo structure, but tree based
undo apps should also be able to use the generic solution.
My GIMP Blog:
"Automatic tab style and removed tab title bar"
] [Thread Prev