[Lazarus] csOpaque seems to be broken in 0.9.29

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Dec 22 16:22:08 CET 2009


Graeme Geldenhuys wrote:
> 
> I did some Google'ing. At least under XLib, it is possible. Run 'xeyes'.
> :-)  xeyes uses the XShapeCombineMask API.

That would only work as 100% or 0% transparent - no opacity though.

For opacity you could piggy-back on the compiz window managers in X11. For
GTK2 you would use the following, which could be applied to any window with
a handle (as far as I understand).

http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#gdk-window-set-opacity


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/





More information about the Lazarus mailing list