Hello
Here is my use use case (in Inkscape). I have a set of sliders
(GtkScale) that control some values in the document. I want to update
the view of the document in real time, but only push the change on the
undo stack when the drag is finished. But the only signal I can
connect to is
2010/7/27 Krzysztof Kosiński tweenk...@gmail.com:
Hello
Here is my use use case (in Inkscape). I have a set of sliders
(GtkScale) that control some values in the document. I want to update
the view of the document in real time, but only push the change on the
undo stack when the drag is
Hi.
Can't you just connect to two different signal handlers one for the
update and one for the undo stack?
There is only one signal (GtkRange::value-changed) available.
Unfortunately, GtkRange's internals are one huge pile of ... and
adding another signal would not be that easy. Maybe you can
2010/7/27 Tadej Borovšak tadeb...@gmail.com:
Hi.
Can't you just connect to two different signal handlers one for the
update and one for the undo stack?
There is only one signal (GtkRange::value-changed) available.
Unfortunately, GtkRange's internals are one huge pile of ... and
adding
W dniu 27 lipca 2010 18:06 użytkownik Alberto Ruiz ar...@gnome.org napisał:
Hi there,
You can just connect to the GtkRange's GtkAdjustment value-changed
signal for the view update.
The problem is not the view update but the undo stack update. It
should only be updated when the drag is
Hi again.
Hi there,
You can just connect to the GtkRange's GtkAdjustment value-changed
signal for the view update.
This will not work, because delayed emission of
GtkRange::value-changed signal is implemented by delaying emission of
GtkAdjustment::value-changed. You can connect to either of
On Tue, 2010-07-27 at 17:15 +0200, Krzysztof Kosiński wrote:
Hello
Here is my use use case (in Inkscape). I have a set of sliders
(GtkScale) that control some values in the document. I want to update
the view of the document in real time, but only push the change on the
undo stack when the
W dniu 27 lipca 2010 23:32 użytkownik Sven Neumann s...@gimp.org napisał:
You could implement undo compression as we do in GIMP. Multiple
consecutive position changes are compressed into a single undo step.
This can be easily implemented by looking at the top-most step on the
undo stack and