Re: GtkTransparent



Hi,

In <1152712764 13123 50 camel localhost>
  "Re: GtkTransparent" on Wed, 12 Jul 2006 14:59:24 +0100,
  "Gustavo J. A. M. Carneiro" <gjc inescporto pt> wrote:

>   Can you stack GtkTransparent widgets?

Yes.

> If so, does it have the expected result with translucency?

Yes. See this screenshot:
  http://pub.cozmixng.org/~kou/images/screenshot-gtktransparent.png

> If so, does it work correctly even with non-composite
> aware X servers (most of them so far)?

Yes if gtk_widget_shape_combine_mask() can work with
non-composite aware X servers.

> What about performance; does each widget require a
> separate X11 window?

No. GtkTransparent uses gtk_widget_shape_combine_mask().

>   And I'm not convinced that writing a gtk+ widget from scratch is
> easier than writing a canvas item...

You can only implement expose-event callback. You don't need
to write your GTK+ widget from scratch.


Thanks,
--
kou



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