Re: force redraw on another redraw (was: pixmaps and xpm-transparency)
- From: hintze_gtk siemens md st schule de
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-list gnome org
- Subject: Re: force redraw on another redraw (was: pixmaps and xpm-transparency)
- Date: Sun, 22 Apr 2001 13:44:03 +0200
On Sun, Apr 22, 2001 at 03:18:18AM -0400, Havoc Pennington wrote:
>
> GTK doesn't support overlapping widgets (except for children
> overlapping their parent container). So you are in the undefined
> behavior zone.
so i should try gtk_widget_shape_combine_mask () to prevent the lower
widget exposure influencing the upper one...
how can i combine two masks? how can i invert one?
i just can't find methods for that at
http://developer.gnome.org/doc/API/gtk/index.html
so i would combine the inverted mask of the upper window with
the lower ones mask. finally modifying the lower windows shape
by the resulting mask should do the trick, shouldn't it?
>
> 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
th
--
Tobias Hintze - http://hbs-solutions.de
HBS solutions GbR - Network & Information Systems
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]