Re: pixmaps and xpm-transparency
- From: Paul Davis <pbd Op Net>
- To: Tobias Hintze <hintze_gtk siemens md st schule de>
- Cc: gtk-list gnome org
- Subject: Re: pixmaps and xpm-transparency
- Date: Tue, 17 Apr 2001 12:58:41 -0400
In message <20010417184621 A2180 phoenix vulkan priv>you write:
>On Tue, Apr 17, 2001 at 12:13:03PM -0400, Paul Davis wrote:
>>
>> what you need is a non-rectangular window, which means that you need
>> to use gtk_widget_shape_combine_mask. this will adjust a widget's
>> shape by using a mask. you can use the same mask as was generated when
>> you created the pixmap, and the result is that all areas marked as
>> "transparent" in the XPM are "removed" from the widget's outline
>> shape.
>
>i'm afraid that's not what i really want. i will explain a bit more.
>i wan't display some graphics within a GtkTable. for now:
i suspect that you need to use the low level GdkPixbuf stuff or imlib
or something similar to provide alpha-transparency entirely "above"
GTK, then simpler render the result with GTK/GDK. i don't anything
about doing that, but i know that others on this do.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]