New to Lazarus, questions on Widgets lazarus / 7-LCL ---------------------------------------------------------------------- BlackSun · 2005-10-01 15:05 Hello there, I am a big Delphi fan, but a bit depleased with their .net orientation, lack of x64 and other OS support support, so I got really interested in FreePascal, and of course Lazarus. I plan to write an app that run on Windows, Linux and MacOS at least, and was thinking about using GTK2 as a set of widget, it is supposed to run on the OS I'm interested in if I am not wrong. My app is going to have skinning support, and I got GTK2 themes working using the libraries there: http://members.lycos.co.uk/alexv6/ Now my questions: - I tried to look for the status of the current GTK2 development, but didn't find anything really new. - I wrote a small test app, work fine except for two problems (my main question for this topic in fact): the form on runtime is created in another form container (http://www.corecodec.org/~blacksun2/bordel/gtk2.png) Now for the other problem, when the mouse is over the app window, it is using the gtk cursor (a black one), is there any way to prevent that ? Btw my app currently run on Win32, didn't test on another OS yet. - How to set a GTK2 theme for an app ? Many thanks for helping me  :wink: ---------------------------------------------------------------------- Anonymous · 2005-10-02 17:59 I don´t know how to set a gtk2 theme, but you can go to this website: http://www.gtk.org/ On the documentation section of gtk website you may see the following links: http://www.gtk.org/api/ http://www.gtk.org/tutorial/ To use gtk function simply include gtk in your uses clause. But know that gtk2 is not absolutely problem-less yep. Thought it is close to getting ready, gtk1 applications are much more stable for now. ---------------------------------------------------------------------- Anonymous · 2005-10-02 18:03 Also remember that there is no need to link to gtk2 on windows. You can link to windows API with the exact same source code =) Very nice, hum? Just remember to use strip: "strip --strip-all " and "upx " This can make a 6MB executable go down to 700kb. I even got a 400kb graphical exe on Windows. UPX has a incredibly small drawback on the executable load time. ---------------------------------------------------------------------- Marc · 2005-10-03 12:41 The problem of the double windows you see is a win32 issue. Win32 has no problems in having a form as child while on other widgetset it is a problem. Don't use a borderless form as child in a form (asif it was a frame or a mdichild)