Transparent Form under Linux GTK+ 2.0 lazarus / 8-Other ---------------------------------------------------------------------- jkrX21 · 2007-01-24 14:56 Is it possible to create a transparent form under GTK2 with Lazarus? If yes, how? I'm planning to port a Windows/Delphi application to Linux/Lazarus, unfortunately it uses transparent forms and I can't seem to find how to make a transparent form under Lazarus. ---------------------------------------------------------------------- Marc · 2007-01-25 15:46 not yet. Transperentforms are delphi 7 whie most of the LCL is D6 compatible ---------------------------------------------------------------------- jkrX21 · 2007-01-25 16:03 Oh. Too bad. But thanks for the info anyway. Follow-up question: Is there any way to get the X-Window ID of a form in a Lazarus application using the GTK2 interface? ---------------------------------------------------------------------- Marc · 2007-01-25 16:25 you can cast a TwinConrol.Handle to a PGKTWidget from there you can get the ID wih gdk_x11_drawable_get_xid ---------------------------------------------------------------------- jkrX21 · 2007-01-26 11:49 Marc, thanks. Where is PGTKWidget defined? Do you have a code snippet on how to do this? ---------------------------------------------------------------------- Marc · 2007-01-30 17:22 In one of my testapps, so don't expect nice coding there http://lazarus.dommelstein.nl/mytest/KeyValue/unit1.pas in TForm1.DumpOrg,  use the call similar to gdk_window_xdisplay (a gdkwindow is a gdkdrawable)