comp.lang.ada
 help / color / mirror / Atom feed
From: randhol+abuse@pvv.org (Preben Randhol)
Subject: Re: gtkada/glade info needed
Date: 2000/10/01
Date: 2000-10-01T10:28:43+00:00	[thread overview]
Message-ID: <slrn8te4e5.gln.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: 39D65E94.DD8563E@acm.org

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/       \,




  parent reply	other threads:[~2000-10-01  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-30  0:00 gtkada/glade info needed Marin David Condic
2000-09-30  0:00 ` Ted Dennison
2000-09-30  0:00   ` Marin David Condic
2000-10-01  0:00 ` Preben Randhol [this message]
2000-10-01  0:00   ` Marin David Condic
2000-10-01  0:00     ` Preben Randhol
2000-10-02  3:45     ` Robert Dewar
2000-10-02  0:00       ` Gautier
2000-10-02  0:00         ` Preben Randhol
2000-10-02  0:00           ` Ted Dennison
2000-10-02  0:00         ` Marin David Condic
2000-10-02  0:00           ` Preben Randhol
2000-10-01  3:07 ` Robert Dewar
2000-10-01  3:36 ` DuckE
2000-10-01  0:00   ` Marin David Condic
2000-10-01  0:00     ` Ted Dennison
2000-10-01  0:00       ` Marin David Condic
2000-10-06  0:00         ` Charles Hixson
2000-10-07  4:10           ` Robert Dewar
2000-10-07  0:00             ` Jerry van Dijk
2000-10-09  0:00               ` Charles Hixson
2000-10-09  0:00                 ` Jerry van Dijk
2000-10-10  6:52                 ` Tarjei T. Jensen
2000-10-10  0:00                   ` Charles Hixson
2000-10-10  0:00                     ` Ted Dennison
2000-10-10  0:00                       ` Leonard
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox