Is GTK2 now supported or not? lazarus / 13-General ---------------------------------------------------------------------- Anonymous · 2006-03-24 08:56 I can't find any information for the GTK2 support. Is it working? Stable? Still experimental? Is there anyone working on that? It would be also good idea to anyhow update some information on the main sites too. It seems the entire project is maintained very sluggish. There is not even a usable documentation for all the stuff. The project is now existent more than 6 years. But you need hours to collect useful information allover the internet... ---------------------------------------------------------------------- lepidosteus · 2006-03-24 19:36 Anyone can write in the wiki. If you think something is missing, feel free to add it. ---------------------------------------------------------------------- Anonymous · 2006-03-25 02:28 Fine. But shouldn't in the wiki be merely answeres, not a brunch of questions? I had a question, actually. It is rather the work of the developers of Lazarus to inform us about the development state, right? I do not know enuff about the subjects. Therefore I ask. ---------------------------------------------------------------------- lepidosteus · 2006-03-25 04:18 Yes but they can't code and fill the documentation. You are asking them to do everything at the same time, while, remember, this is a free open source project. They answer to a lot of questions on irc/mailling list. It's the users job to fill the wiki (man, that's the whole point of a wiki ...). I prefer that they keep coding and maybe write a full doc when 1.0 is released. ---------------------------------------------------------------------- felipemdc · 2006-03-25 19:33 Quote from: "Anonymous"I can't find any information for the GTK2 support. Is it working? Stable? Still experimental? Works for me. I´m already deploying apps on Gtk2. More info: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#How_can_I_com pile_a_program_for_Gtk2.3F QuoteThere is not even a usable documentation for all the stuff. The project is now existent more than 6 years. But you need hours to collect useful information allover the internet... Then why don´t you add the missing things on the Wiki so others will have access to them? ---------------------------------------------------------------------- Anonymous · 2006-03-25 19:40 > Works for me. I´m already deploying apps on Gtk2. To which degree? Has it changed a lot on SVN? on 0.9.13 beta it has some serious problems which make it unusable for me. ---------------------------------------------------------------------- Anonymous · 2006-03-26 01:47 Quote from: "lepidosteus"Yes but they can't code and fill the documentation. You are asking them to do everything at the same time, while, remember, this is a free open source project. They answer to a lot of questions on irc/mailling list. It's the users job to fill the wiki (man, that's the whole point of a wiki ...). I prefer that they keep coding and maybe write a full doc when 1.0 is released. Sorry, but that is not the point. The "job" to actually say us, whether the GTK2 port actually works (or how far even the porting is) can ONLY be done by the developers. So it is definately their job to report their progress. - ---------------------------------------------------------------------- Anonymous · 2006-03-26 01:51 Quote from: "sekel"Quote from: "Anonymous"I can't find any information for the GTK2 support. Is it working? Stable? Still experimental? Works for me. I´m already deploying apps on Gtk2. More info: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Faq#How_can_I_com pile_a_program_for_Gtk2.3F QuoteThere is not even a usable documentation for all the stuff. The project is now existent more than 6 years. But you need hours to collect useful information allover the internet... Then why don´t you add the missing things on the Wiki so others will have access to them? I am a relatively "new" user to Lazarus. It is not even sure whether I will use this IDE or not. Probably not for those reasons... The (complete) lack of a usable documentation is, let me say, a cardinal mistake of any project. Man, the project was founded 1999. (That was the last century, btw). - ---------------------------------------------------------------------- felipemdc · 2006-03-26 02:09 Quote from: "Anonymous"The (complete) lack of a usable documentation is, let me say, a cardinal mistake of any project. I disagree with that. The documentation needs to improve, but "complete lack" is completely misguided. No, you don't need to colect information all over the web. There are only 3 links you need to know and they are: 1 - Delphi basics, basic Delphi tutorial. You may skip this one if you know Delphi well. Works for Lazarus too: http://www.delphibasics.co.uk/ 2 - Free Pascal Documentation: http://www.freepascal.org/docs-html/ http://www.freepascal.org/docs-html/rtl 3 - Lazarus Wiki: http://wiki.lazarus.freepascal.org/index.php/Lazarus_Documentation There is a lot of information on the wiki. There is MDI example, there is even a example on how to build a Oscilloscope GUI!!! There is hardware access tutorial, graphics tutorial, lot's and lot's of database tutorials. XML tutorial. There is even a example of how to create a RPM package and on the same page how to create a Mac OS X .dmg file. I doubt you can find this anywhere else on the same page. Multiplatform considerations, the FAQ, How to build a new widgetset, how to create a patch, how to install Lazarus, how to use the Qt widgetset, how to use the Windows CE widgetset (yes, we are going embedded!!!). And, if you cannot find something on the wiki, on delphi basics or on the documentation of Free Pascal. Please ask! I learned a lot asking around here, and then I created wiki pages based on the answers. ---------------------------------------------------------------------- Anonymous · 2006-03-26 02:20 Is there a complete (and detailled) LCL documentation yet? Can I actually access that inside the programming environment to get instantly answered my questions? Well, I used C++Builder for a long time with Windows development. That is what I call "RAD development". Opening and looking at Lazarus (which aims to be a Delphi clone) is a total disappointment to any new user, I guess. Not because it is not perfectly "remodeled". No, even all the disadvantages of the Delphi interface are nearly accurate remodeled. LOL. No, because RAD development is nearly impossible with Lazarus. Except you have all the VCL in your head already ... Even Delphi very fast collapses if you try to realize very big projects. But at least there is really a workflow achieveble. Not so with Lazarus. You endless surf the internet to get any useful information. That's the (bad) point. ---------------------------------------------------------------------- Anonymous · 2006-03-26 02:22 Althought, thank you for pointing out the links. But I fear I already discovered even those (asking me: Is that all???). ---------------------------------------------------------------------- felipemdc · 2006-03-26 02:31 By the way, there is a place where the status of things is put. I maintain the Qt and Windows CE parts. Someone needs to change the Gtk and Gtk2 parts to make their status accurate. I would do it, but I don't know what parts work. Here it is: http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0 ---------------------------------------------------------------------- Anonymous · 2006-03-26 03:05 Quote from: "sekel"By the way, there is a place where the status of things is put. I maintain the Qt and Windows CE parts. Someone needs to change the Gtk and Gtk2 parts to make their status accurate. I would do it, but I don't know what parts work. Here it is: http://wiki.lazarus.freepascal.org/index.php/Road_To_1.0 LOL. ".. I would do it, but I don't know what parts work ..". That's exactly the problem. ---------------------------------------------------------------------- lepidosteus · 2006-03-26 08:16 Well, now this is getting boring. No there is no full detailled LCL documentation. Most of it runs like in delphi/c++ builder's VCL for compatibility reasons, and if you have a question, look in the wiki. If the answer isn't there, ask on irc/mailling list, and put the answer in the wiki. Simple enough. A lot of people are using lazarus without problems, so yes it would be really usefull, but i think you go too far. If you want to compare delphi and lazarus, which is obviously what you want, then you missed the point. You totally missed it. And please register to EDIT your posts. ---------------------------------------------------------------------- mattias · 2006-03-26 09:56 The LCL gtk2 interface is inherited from the LCL gtk interface. That's why all components work a little bit. But gtk2 has a lot of differences, so every component must be tested and completed. At the moment there is no developer working on it. We only get patches from time to time from programmers. I will work on the gtk2 interface in a few weeks. ---------------------------------------------------------------------- Anonymous · 2006-03-28 12:45 Quote from: "lepidosteus"Well, now this is getting boring. No there is no full detailled LCL documentation. Most of it runs like in delphi/c++ builder's VCL for compatibility reasons, and if you have a question, look in the wiki. If the answer isn't there, ask on irc/mailling list, and put the answer in the wiki. Simple enough. A lot of people are using lazarus without problems, so yes it would be really usefull, but i think you go too far. If you want to compare delphi and lazarus, which is obviously what you want, then you missed the point. You totally missed it. And please register to EDIT your posts. No. I did not intend to compare anything here. But I do want an environment, which is actually somehow productive. If you guys have all the entire VCL in your head, so that's good. But I havn't. Also it could be good at least to ducument detailled where the concrete differences between the "clone" and the "cloned" are... Thats actually a stupid game to say "we do not make a clone" but on the other hand say "download the Delphi documentation, if you want to know how it works and to be productive" ... I did read about allot of ppl claiming the only thing what counts is to get something released with Lazarus. Well, I do not believe, that there will be got that much released with this clone at it's current state. Because it's simple unproductive (cause merely in "alpha" state) in my opinion. But great focus has being taken to even to identically" remodel those stupid Delphi disadvantages  instead of creating something new and more productive. My suggestion to the developers is: end that stoopid and pointless "Delphi-cloning" with Lazarus an make it finally a productive tool for the powerful language Pascal. ---------------------------------------------------------------------- Anonymous · 2006-03-28 14:02 QuoteBut great focus has being taken to even to identically" remodel those stupid Delphi disadvantages instead of creating something new and more productive. My suggestion to the developers is: end that stoopid and pointless "Delphi-cloning" with Lazarus an make it finally a productive tool for the powerful language Pascal. I disagree. It's one of the advantages of Lazarus, that it's trying to be compatible with de de-facto standard (VCL). Many components can be ported and reused this way. Btw. what you want is underway: http://www.freepascal.org/wiki/index.php/MSE_Ide Join this project, if you dislike Lazarus or write your own thing. ---------------------------------------------------------------------- lepidosteus · 2006-03-28 21:39 Maybe you could just leave lazarus and join some other project wich suits your needs, as lazarus obviously don't. Because i don't see the laz team doing a comlplete 180° just for you. ---------------------------------------------------------------------- RudieD · 2006-03-29 17:11 I don't understand some people, they will rather complane then help. I try to promote LFPC as much as possible, but I would love to get some time to help with debugging and development. This is a COMUNITY effort, then not ? ---------------------------------------------------------------------- Anonymous · 2006-05-11 13:51 To come back to the original subject, how is GTK2 support at the moment? I just tried rebuilding Lazarus with GTK2 and I get some Floating Point and Access Violation Exceptions. :-) ---------------------------------------------------------------------- matthijs · 2006-05-11 14:35 Full GTK2 support will not be available before Lazarus 1.0 is released. ---------------------------------------------------------------------- Anonymous · 2006-05-11 17:05 Thanks for your reply. I will wait for 1.0 then. ---------------------------------------------------------------------- matthijs · 2006-05-11 18:57 After a reread of my message, I think I was not clear enough. You have to wait till after version 1.0. Until the first release no effort is put into GTK2 by the core developers. All patches are welcome however on patch at dommelstein dot net. ---------------------------------------------------------------------- Anonymous · 2006-05-12 07:16 I don't want to sound rude, but is there already some insight about when this will happen? I'm really looking forward to GTK2 or Qt support. Unfortunately I'm not that good of a programmer to help you so I won't be able to submit patches. ---------------------------------------------------------------------- felipemdc · 2006-05-13 03:28 As I already said, the Virtual Magnifying Glass is already deployed with Gtk2: http://magnifier.sourceforge.net/ after about 2.000 downloads of the Unix version there are no problems. So, don´t expect Gtk2 to be fully supported. Just go and try it yourself to compile your program with Gtk2! If it doesn´t work, try to debug what is causing the problem, create a test program to isolate it, and submit a bugreport. ---------------------------------------------------------------------- da_seeb · 2006-05-14 11:10 I really don't understand why there isn't more work done on GTK2 or Qt interface... Meanwhile many new distributions have very bad support for gtk 1.x, means, fonts look ugly, libraries are missing... I think to make lazarus ready for the future you have to support an up to date user interface. I've written a nice audio application with Lazarus, I love to work with lazarus, I love the crosscompiling ability, but the result with gtk1.2 looks really bad, and many people don't want to use it, because they have problems with gtk1.2 or take an app with a nicer GUI. I tried to work on gtk2 interface, took one weekend and looked into the code, but I think I am not experienced enough to help... I worry that when there is no up to date user interface lazarus project will die in near future... Again: lazarus is great, it has the chance to be as good and better as Delphi and all the others. Please, don't make the fault to loose users beacuse there is no atractive GUI interface!! ---------------------------------------------------------------------- felipemdc · 2006-05-14 21:26 Please try to compile your program with Gtk2 and also Qt. If it doesn't work go to the bug tracker or mailling list and tell us what was the exact problem / error message you got. This is the only way we can fix whatever is wrong. I would also advise you to list your software on the Wiki, as a project using Lazarus: http://wiki.lazarus.freepascal.org/index.php/Projects_using_Lazarus If it is GPL, then also consider putting it on Source Forge. If you want to help and found gtk2 interface too complex, consider helping with Qt. Qt is much, much easier to use. If you have any doubts regarding how to help on the interfaces, please post another thread with your problems or on the mailling list. ---------------------------------------------------------------------- Almindor · 2006-05-15 07:06 Quote from: "Anonymous"Is there a complete (and detailled) LCL documentation yet? Can I actually access that inside the programming environment to get instantly answered my questions? Well, I used C++Builder for a long time with Windows development. That is what I call "RAD development". Opening and looking at Lazarus (which aims to be a Delphi clone) is a total disappointment to any new user, I guess. Not because it is not perfectly "remodeled". No, even all the disadvantages of the Delphi interface are nearly accurate remodeled. LOL. No, because RAD development is nearly impossible with Lazarus. Except you have all the VCL in your head already ... Even Delphi very fast collapses if you try to realize very big projects. But at least there is really a workflow achieveble. Not so with Lazarus. You endless surf the internet to get any useful information. That's the (bad) point. Others already posted about various options you have. There's also a working "F1" which will open the helppage over the net. Yup, I realize not everyone has internet, but OSS is bound to it, live with it. The best way however is to use ctrl+click and view the interface sections. Method names with parameters are usualy very very logical and no documentation is required in most cases. A few tries perhaps, but you'll eventualy get it. If you want anything better either help writing the docs or dish cash for M$VS and stay on your one platform. ---------------------------------------------------------------------- da_Seeb · 2006-05-15 09:10 @sekel I regularly try to compile my program with gtk2 but the missing things are listed as a bug for over six months. (Imageliist, Listview, Icons) Is there any workaround how to use icons in menus and listview without using imgalist? I will try to take a look at qt next week. Perhaps I can contribute there....