Re: force redraw on another redraw (was: pixmaps and xpm-transparency)



Tobias Hintze <hintze_gtk siemens md st schule de> writes:
> but as i just noticed - it brings a new problem:
> whenever the underlying "px" needs a repaint. it will be
> repainted AND it will draw OVER the overlying "px".
> 
> so i think i need some technique to force the overlying "px"
> to redraw every time the underlying one is being redrawn.
> 
> any hints?
> 

GTK doesn't support overlapping widgets (except for children
overlapping their parent container). So you are in the undefined
behavior zone.

You could connect to expose_event on the lower widgets and queue a
draw on the upper widgets, but you might just get infinite loops and
such. Anyway, some such hack will be required.

Havoc




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