Re: freezing a gnomecanvas from updating



>I'm moving, removing, and adding a ton of stuff around the screen at
>once, and I need it to seem like everything moves, removes, and adds
>at once (it's one big jump/change, not a sequence of smaller ones).  I
>am seeing some stuff move before other stuff and so the effect isn't
>what I'm looking for.

well, apparently, you're not doing it "at once". if you do everything
within a single iteration of event handling (i.e. before the canvas
idle handler is invoked), there is only *one* canvas redraw.

otoh, my experience so far is with gtk1.2, and its possible that
something horrible has changed in gtk2 (i'll be discovering that in
april or so :) however, i believe that this aspect of the canvas is
similar in gtk2 as in gtk1.

--p




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]