Lazarus

Programming => Widgetset => GTK => Topic started by: James_Parsons on February 04, 2014, 04:18:01 pm

Title: Setting Up And Getting Started GTK-2
Post by: James_Parsons on February 04, 2014, 04:18:01 pm
How do I set up Lazarus to use the GTK2 on Windows? Do I need any external libraries besides the GTK runtime? After I am set up, where can I find a tutorial on using the GTK2 with pascal?
Title: Re: Setting Up And Getting Started GTK-2
Post by: taazz on February 04, 2014, 04:28:23 pm
How do I set up Lazarus to use the GTK2 on Windows?
Install the GTK2 runtime on your computer and that should be enough to let you write GTK2 base applications.
Do I need any external libraries besides the GTK runtime?
No.

After I am set up, where can I find a tutorial on using the GTK2 with pascal?
There isn't one you see lcl is based on a concept that you can use what ever you want as the underline widgetset from the ones supported. So you simple use the lcl controls forms etc and just tell lazarus to build a GTK2 application instead of windows, change the lclwidgetType in the project options see attachment.
Title: Re: Setting Up And Getting Started GTK-2
Post by: Leledumbo on February 04, 2014, 04:45:15 pm
After I am set up, where can I find a tutorial on using the GTK2 with pascal?
There isn't one you see lcl is based on a concept that you can use what ever you want as the underline widgetset from the ones supported. So you simple use the lcl controls forms etc and just tell lazarus to build a GTK2 application instead of windows, change the lclwidgetType in the project options see attachment.
There are some actually (though might need adjustments here and there):
TinyPortal © 2005-2018