[Gtk-sharp-list] Transparent / Translucent Gtksharp windows
adrien at digital-affinity.com
Sat Aug 11 08:45:46 EDT 2007
I know this question has been asked several times before, but there doesn't
seem to be a straight forward, cross platform answer.
So first off: when developing a GUI with gtksharp how do you get cross
platform perpixel alpha blended windows? Screen.RgbaColormap works for
composited windows under linux only, as far as I can tell from my
experiments, it is null under WinXP. Several other Gtk+ functions,
particularly for alpha blending, are not available in the Win32 gtksharp(
v2.8) (eg. 'Gtk.Window' does not contain a definition for
'InputShapeCombineMask' (CS0117) -
C:\Code\CairoShapeClock\CairoShapeClock.cs:105,7). Is there any way to get
gtksharp alpha transparency under WinXP?
Also: If it isn't possible to achieve true layered alpha blended windows
with gtksharp under WinXP, is there a way to simulate the effect? By
capturing what is currently under the window area and displaying it as the
And: Aside from true alpha blended transparency, how do you achieve 1bit
transparency with a Gtk.Window? How would u set the colour that the window
should not render and leave as transparent?
I would really like to avoid using WinForms.
Thanks for any and all replies.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list