Hi
I recently installed lazarus, But I'm Familiar with Borland Delphi, After all I found that lazarus uses a very ugly widgetset like in windows 98 environment. I found a wiki about
using gtk2 widget set in lazarus in here
http://wiki.lazarus.freepascal.org/GTK2_Interface and followed its instructions:
Quick start guide for Linux, FreeBSD, etc
The first thing to do is to install the gtk2 libraries including the development packages. For example: linux/debian systems call them libgtk2.0-dev. There are complete installers for Windows here.
Now compile the LCL for gtk2. First open your normal compiled Lazarus. Then go on the menu "Tools" --> "Configure Build Lazarus". Set LCL to "clean+build" and everything else to "None". Now select "gtk2" and click on the "Ok" button. Next go to the menu "Tools" --> "Build Lazarus". Now the LCL is compiled for gtk2 too. (Note: the default widgetset is still there and not overwritten).
To compile a project for gtk2 just select it as the target widgetset on the Compiler Options dialog.
At this moment the Lazarus IDE can be compiled for gtk2, but it is slow and it can crash on some window managers.
But after all noting happened. Lazarus is still using its old ugly widget set
Also I don't know how to do the last step: "select it as the
target widgetset on the Compiler Options dialog" I searched all over Compiler Options window but did not find any thing about target widgetset
.
Do you know how to use gtk2 in lazarus for compiling programs? I don't want my applications to look ugly
.
Thanks for your attention guys