From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,dc3cd65b8421a1e9 X-Google-Attributes: gid103376,public From: randhol+abuse@pvv.org (Preben Randhol) Subject: Re: gtkada/glade info needed Date: 2000/10/01 Message-ID: #1/1 X-Deja-AN: 676146657 References: <39D65E94.DD8563E@acm.org> X-Complaints-To: usenet@itea.ntnu.no X-Trace: kopp.stud.ntnu.no 970396123 18451 129.241.83.82 (1 Oct 2000 10:28:43 GMT) Organization: Norwegian university of science and technology User-Agent: slrn/0.9.6.2 (Linux) NNTP-Posting-Date: 1 Oct 2000 10:28:43 GMT Newsgroups: comp.lang.ada Date: 2000-10-01T10:28:43+00:00 List-Id: On Sat, 30 Sep 2000 17:43:49 -0400, Marin David Condic wrote: >Does anybody know where there might exist some documentation about using >Glade to build GUIs for use with GtkAda? I'm looking for a sort of >tutorial that walks you through all the steps of constructing some sort >of reasonably simple app that shows how to use the various features to >create a nice looking window. Despite claims to the contrary, the tool >is *not* intuitively obvious to even the most casual observer. First principle is that when you make GUI with GtkAda (GTK+) you should not do it the way Delphi projects do. That is put buttons etc in fixed positions. GTK+ uses horisontal and vertical boxes to pack buttons etc... so that when you scale your application the layout looks good. I recommend that you look at these links, even though the examples are in C it is easy to translate into Ada 95 using GtkAda: GTK+ / Gnome Application Development by Havoc Pennington : on packing widgets: http://developer.gnome.org/doc/GGAD/cha-gtk.html the whole book can be found here: http://developer.gnome.org/doc/GGAD/ GTK+ Tutorial by Tony Gale, Ian Main on packing widgets: http://www.gtk.org/tutorial/gtk_tut-4.html the whole tutorial http://www.gtk.org/tutorial/ And of course the GtkAda documentation. http://gtkada.eu.org/gtkada_ug.html http://gtkada.eu.org/gtkada_rm_toc.html >Is it time to once again observe that one reason more people don't >develop Windows apps in Ada is because there isn't a complete, >well-integrated, well-documented set of tools with which to work? C++ I dunno, I use Linux as I find that Windows suck. >may be a poor excuse for a programming language, but MSVC++ installs >from a single disk, configures everything it needs to and runs properly >right out of the box. No net surfing for all the bits and pieces. No And how many $ do you have to pay up for the public version of GNAT + GtkAda + Glade compared to MSVC++? :-) >I like the notion of being able to develop a GUI based app in Ada using >a tool that will let me take the code between Windows and Unix >unchanged. GtkAda may do that. It may gain more popularity if it works a >bit more seamlessly. The Linux version works nicely at least and I'm very impressed with the work put in by the GtkAda developers. -- Preben Randhol - randhol@pvv.org - http://www.pvv.org/~randhol/ ._. Debian 2.2 |"Don't think about domination, think about freedom, / _,\ Potato | it doesn't dominate." - Richard M. Stallman | (_./ GNU/Linux | To learn more visit => http://www.debian.org/ \,