comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@cogeco.ca>
Subject: Re: GtkAda Package Hierarchy (was ...vs Windex, Gwindows)
Date: Tue, 05 Oct 2004 12:38:23 -0400
Date: 2004-10-05T12:38:23-04:00	[thread overview]
Message-ID: <u4A8d.13490$jj2.726683@news20.bellglobal.com> (raw)
In-Reply-To: <87u0tap4rk.fsf@insalien.org>

Ludovic Brenta wrote:
> "Warren W. Gay VE3WWG" writes:
> 
>>While some of this is unavoidable as the project matures (like some
>>of the support moving to this Pango package), I found it rather
>>confusing. What is really needed is a comprehensive user guide, with
>>full blown examples (not the few that come with the sources).
>>
>>One area that I found weak in the extreme was how to use GtkAda to
>>draw on some sort of a graphics area. Many questions came to mind
>>about that (and I have done X Window graphics), but I had to do a
>>lot of experimentation and spec grepping to get through that.
> 
> Do you count testgtk in the "few examples"?  If memory serves, it does
> have graphics examples using GtkCanvas and XPMs.

I don't recall now, because it was several weeks ago when I went
hunting. Part of the problem (and this is documentation related),
is what do you go grepping for? There are a number of example
programs there, but how do you look for "something that does drawing"
beyond the scribble program? You need to know what you're looking
for to begin with (documentation). I think I ended up looking at
GDK and GLIB references, but beyond that I don't recall now.

Anyway, I don't know if I finally ended up there or not, but I
managed to figure it out with a lot of trial and error and
looking at specs.

Another problem that often occurs in example programs is they
tend to highlight some all-singing all dancing feature or
group thereof. Simpler examples would probably be more useful,
in some cases. I know... we can contribute them ;-)

PACKAGE HIERARCHY COMMENTS:

One thing about the package hierarchy of GtkAda that "bugs"
me, is that the packages seem to subdivided on C terms.
For example why do we have a Gtk and GtkAda package? Why
are not all widgets and packages under a root GtkAda package?

I think the intention of GtkAda was to be a thick binding, so
why not make GtkAda the top level package and subdivide things
on a thick basis underneath? With the Glib, Gdk, Gtk,
GtkAda, Pango top level packages, it just seems a little bit
uncoordinated. It pollutes top level name space too. I always
ask myself, where is x in the GtkAda namespace? Some font
thingies are here, but others are in Pango, and yet others
are..

They would make more sense to me as a hierarchy
underneath GtkAda, and subdivided by functional category
perhaps. As a perfectionist, I guess I yearn for
greater namespace purity :)

The Gtk.Extra is another example. The fact that these are
"extra" widgets, doesn't necessarily imply that they cannot
be in a GtkAda.X hiearchy with other "normal" widgets. Why
should "extra" widgets be treated differently than others?
It just seems to be too much influenced by the fact that
they are in a gtkextra subdirectory, which is unimportant
to the end developer. If you care about traceability to
code, then comments in the specs do that job nicely.

Again folks, I am not trying to be critical here of the fine
effort that folks have done with GtkAda. I applaud their
efforts and as users of GtkAda the rest of us enjoy using
the fruits of their labour. It is always easier to be critical
than to contribute. Please just accept this as my humble
$0.02 worth of opinion. I just hope this post doesn't stir
up a hornet's nest, because that is not the intent. ;-)
-- 
Warren W. Gay VE3WWG
http://home.cogeco.ca/~ve3wwg



  reply	other threads:[~2004-10-05 16:38 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-23  1:44 GWindows and David Botton Fionn mac Cuimhaill
2004-09-23  2:51 ` stephane richard
2004-09-24  1:08   ` Stephen Leake
2004-09-24  1:14     ` stephane richard
2004-09-24 16:26     ` Matthew Heaney
2004-09-25 12:19       ` Stephen Leake
2004-09-26 13:22       ` Craig Carey
2004-09-24  0:35 ` Stephen Leake
2004-09-24  3:38   ` Randy Brukardt
2004-09-24  5:41     ` Martin Dowie
2004-09-24 10:37     ` stephane richard
2004-09-25 12:06       ` Stephen Leake
2004-09-27 20:59         ` Randy Brukardt
2004-09-28 17:47           ` Pascal Obry
2004-09-28 18:25             ` stephane richard
2004-10-03 17:04               ` David Botton
2004-10-03 16:32         ` David Botton
2004-10-03 17:59           ` Marius Amado Alves
2004-10-03 19:32             ` Ludovic Brenta
2004-10-03 20:21               ` Jerry van Dijk
2004-10-04 19:13               ` tmoran
2004-10-05  0:54                 ` David Botton
2004-10-05  1:23                   ` David Botton
2004-10-05  1:27                   ` Stephen Leake
2004-10-05  3:39                     ` David Botton
2004-10-05 23:20                   ` Randy Brukardt
2004-10-03 19:24           ` Jerry van Dijk
2004-10-04  2:06           ` Stephen Leake
2004-10-04 13:23             ` David Botton
2004-10-04 13:43             ` David Botton
2004-09-24 17:00     ` Cesar Rabak
2004-09-24  5:45   ` Fionn mac Cuimhaill
2004-09-24 22:14     ` String handling and character encodings Björn Persson
2004-09-25 12:01     ` GWindows and David Botton Stephen Leake
2004-09-26 16:21       ` Fionn mac Cuimhaill
2004-10-03 16:37         ` David Botton
2004-09-26 21:57     ` Stephen McNeill
2004-09-26 22:08       ` tmoran
2004-09-27  6:13       ` Fionn mac Cuimhaill
2004-09-27  7:30         ` GWindows license (Was: GWindows and David Botton) Jacob Sparre Andersen
2004-09-27 12:31         ` GWindows and David Botton Georg Bauhaus
2004-09-27 21:23           ` Stephen McNeill
2004-10-03 16:40         ` David Botton
2004-10-04  1:57           ` Stephen Leake
2004-10-04 13:31             ` David Botton
2004-10-05  0:54               ` Stephen Leake
2004-10-05 15:39                 ` David Botton
2004-10-05 19:44                   ` tmoran
2004-10-05 21:33                     ` David Botton
2004-10-05 22:13                       ` stephane richard
2004-10-06 21:17                       ` tmoran
2004-10-05 22:40                   ` Stephen Leake
2004-10-05 23:28                     ` Randy Brukardt
2004-10-06  3:50                       ` David Botton
2004-10-06  3:46                     ` David Botton
     [not found]           ` <ullenfdo8.fsf@acm.org>
2004-10-04 12:46             ` Stephen Leake
2004-10-04 23:13               ` Brian May
2004-10-04 23:45                 ` stephane richard
2004-10-05 17:52                   ` Ludovic Brenta
2004-10-05 18:08                     ` Chris Humphries
2004-10-05 18:24                       ` Ludovic Brenta
2004-10-05 19:07                         ` Pascal Obry
2004-10-05 20:27                           ` SourceForge, CVS and revision control systems (was: GWindows and David Botton) Ludovic Brenta
2004-10-05 20:54                             ` Pascal Obry
2004-10-05 22:43                         ` GWindows and David Botton Stephen Leake
2004-10-07 18:49                           ` Ludovic Brenta
2004-10-16  2:36                             ` Benjamin Ketcham
2004-10-16 13:22                               ` CVS front-ends Stephen Leake
2004-10-16 14:33                                 ` Matthew Heaney
2004-10-16 15:07                                   ` Pascal Obry
2004-10-16 15:56                                     ` Stephen Leake
2004-10-16 16:37                                       ` Pascal Obry
2004-10-19  2:48                           ` GWindows and David Botton Kaz Kylheku
2004-10-05  0:48                 ` Stephen Leake
2004-10-05  7:42                   ` Brian May
2004-10-05 22:16                     ` Stephen Leake
2004-10-06  8:48                       ` Pascal Obry
2004-10-06 18:56                         ` Marius Amado Alves
2004-10-06 20:07                           ` David Botton
2004-10-06 20:18                             ` David Botton
2004-10-06 21:25                               ` tmoran
2004-10-09  9:49                           ` Jerry van Dijk
2004-10-07  0:22                         ` Stephen Leake
2004-10-08  0:28                       ` Brian May
2004-10-06 20:08                   ` Samuel Tardieu
2004-10-08  0:36                     ` Brian May
2004-09-24 18:58   ` Pascal Obry
2004-09-24 20:14     ` Marius Amado Alves
2004-09-24 20:48       ` tmoran
2004-09-24 22:20       ` GTK Björn Persson
2004-09-24 22:22       ` GWindows and David Botton Georg Bauhaus
2004-09-25  2:34       ` Jeff C r e e.m
2004-09-25  6:03       ` Pascal Obry
2004-09-25 10:42         ` Marius Amado Alves
2004-09-25 11:38           ` Georg Bauhaus
2004-09-25 13:11           ` Ed Falis
2004-09-25 15:59             ` Jacob Sparre Andersen
2004-09-25 18:15               ` Ed Falis
     [not found]         ` <41554B8F.6040401@netcabo.pt>
2004-09-25 12:49           ` Stephen Leake
     [not found]           ` <uekkqfr96.fsf@acm.org>
2004-09-25 13:05             ` Marius Amado Alves
2004-09-25 11:46       ` Ludovic Brenta
2004-09-25 12:43     ` GtkAda vs Windex, Gwindows Stephen Leake
2004-10-04 17:11       ` Warren W. Gay VE3WWG
2004-10-04 21:11         ` Ludovic Brenta
2004-10-05 16:38           ` Warren W. Gay VE3WWG [this message]
2004-10-05 16:56         ` Stephane Riviere
2004-10-05 17:09           ` stephane richard
2004-10-05 20:42             ` Warren W. Gay VE3WWG
2004-10-03 16:18     ` GWindows and David Botton David Botton
2004-10-03 16:03   ` David Botton
replies disabled

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