[fpc-pascal] Re: GUI confusion

2013-09-29 Thread Reinier Olislagers
On 29/09/2013 15:24, Patrick wrote:
 I am trying to learn what Lazarus is all about but I am still clueless.
 
 There are screen shots of it being used to develop GTK and QT
 applications but I have also read that GTK 2 is new and buggy and then
 there is this line:
snip
 Can I build GTK 2 (or 3) and QT applications in this? Could anyone point
 me to resources on how to build GUI applications without Lazarus?


This sounds like a blast from the past.

Yes, Lazarus has been able to build GTK applications for quite a while
now, as well as Qt and Windows applications.
GTK2 is the default widgetset for Lazarus on Linux; GTK3 support
probably is more experimental.

I'd suggest simply installing it and trying it.

About building GUI applications without Lazarus: Graeme, this is your
cue! Try looking into fpgUI, MSEIDE+MSEGUI.
Presumably you could handcode pascal using the bindings to create forms
etc as well but why you would want to do that escapes me.

Good luck.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Re: GUI confusion

2013-09-29 Thread leledumbo
 I tried Lazarus but it did 
not seem to be creating GTK code or QT, it was just some sort of weirdo 
Lazarus only stuff and then in tandem with the QT binding statement I 
mentioned earlier

http://wiki.freepascal.org/Overview_of_Free_Pascal_and_Lazarus#Lazarus_Architecture

 it wasn't even obvious whether or not it could 
generate GUI code outside of the IDE

http://wiki.freepascal.org/LCL_Tips#Creating_a_GUI_by_code

By logic, there won't be anything that can be done by IDE but not by code,
code is far more superior in terms of capability. After all, code is what
works behind all those abstractions (forms, data module, etc.). The IDE does
almost exactly the same thing as if you code everything by hand (but it does
by reading and interpreting the form's definition).

 It would be painful to learn an IDE to 
only find out later that it is for teaching purposes.

Welcome to the world of Modern Pascal. Nah, Pascal itself has NEVER been
designed for such a purpose only. Free Pascal and Lazarus despite volunteer
only projects are designed for real world application. Both are written in
itself (Free Pascal is bootstrapping compiler, Lazarus is built from LCL,
the same framework you use for building GUI applications with Lazarus) which
shows their power.



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/GUI-confusion-tp5716891p5716900.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal