comp.lang.ada
 help / color / mirror / Atom feed
From: Marin David Condic <mcondic.nospam@acm.org>
Subject: Re: gtkada/glade info needed
Date: 2000/10/01
Date: 2000-10-01T16:06:20+00:00	[thread overview]
Message-ID: <39D76103.1D3E5503@acm.org> (raw)
In-Reply-To: slrn8te4e5.gln.randhol+abuse@kiuk0156.chembio.ntnu.no

Preben Randhol wrote:

> 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.
>

Kind of figured out that part for myself - eventually. I can learn to work
with whatever model they want to propose, but I'm just not a mindreader. I'm
hoping to find some info on how to drive the Glade thingie around, how to
setp-by-step get the various things into the window & make them look good,
etc. As I said previously, I managed to get some buttons and text boxes and
stuff like that onto the window, but it looks like defication. And I'm sure
I've violated every single intention of the designers in how to build a GUI.
But nobody wrote down: "Here's how you go about it: First you lay down a
window, then you pop one of these thingies on it, then you edit such-and-such
and..." One walk-through example that showed you how to put basic features
onto the screen in the order they belong (the layer thing is confusing to me
because its different than the usual Windows GUI-builder idea of simply
positioning elements on a pasteboard.) would go a long way to making the tool
easier to use. Something just a bit bigger than "Hello World" but not by
much. Demonstration of buttons, menus, text strings, text blocks, popups and
dialogs ought to about do it. But it needs to suggest *how* to get the things
onto the screen in an attractive form as well as simply the mechanics of
getting the things on the screen.

>
> 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:
>

Thanks for the links. I'll look them over. However, my problem isn't so much
GTK as it is the GUI builder and getting the code generation to work.

>
> I dunno, I use Linux as I find that Windows suck.
>

If you're looking for an argument about the relative suckage of Windows,
you're talking to the wrong guy. But of course, a fundamental point of
philosophy would be that just because Windows = Sucks, does not imply that
(not Windows) = Cool. IMHO, any form of Unix also sucks, but for a lot
longer.

> And how many $ do you have to pay up for the public version of  GNAT +
> GtkAda + Glade compared to MSVC++? :-)
>

Hey, I understand the price is right. That certainly is an attraction. But if
you go to a restaurant and the waitress comes by and says "They burnt your
french fries so they gave you more of them and there's no charge" do you
still eat the fries? I like freebies, but if it doesn't work, it doesn't do
me much good. It also discourages usage of Ada in general if a newbie is
confronted with too many problems getting tools to work.

> The Linux version works nicely at least and I'm very impressed with the
> work put in by the GtkAda developers.

I'll agree that they put a lot of work into it and they have some very nice
things there. Maybe its just not stabilized enough on the Windows side.

MDC
--
======================================================================
Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/
Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m
Visit my web site at:  http://www.mcondic.com/

    "Giving money and power to Government is like giving whiskey
    and car keys to teenage boys."

        --   P. J. O'Rourke
======================================================================






  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
2000-10-01  0:00   ` Marin David Condic [this message]
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         ` Marin David Condic
2000-10-02  0:00           ` Preben Randhol
2000-10-02  0:00         ` Preben Randhol
2000-10-02  0:00           ` Ted Dennison
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