[#6363] Re: rescue clause affecting IO loop behavior — ts <decoux@...>

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

17 messages 2000/11/14
[#6367] Re: rescue clause affecting IO loop behavior — David Alan Black <dblack@...> 2000/11/14

Hello again --

[#6582] best way to interleaf arrays? — David Alan Black <dblack@...>

Hello --

15 messages 2000/11/26

[#6646] RE: Array Intersect (&) question — Aleksi Niemel<aleksi.niemela@...>

Ross asked something about widely known and largely ignored language (on

23 messages 2000/11/29
[#6652] RE: Array Intersect (&) question — rpmohn@... (Ross Mohn) 2000/11/29

aleksi.niemela@cinnober.com (Aleksi Niemel) wrote in

[#6723] Re: Array Intersect (&) question — Mathieu Bouchard <matju@...> 2000/12/01

> >Use a hash. Here's code to do both and more. It assumes that

[#6656] printing/accessing arrays and hashes — raja@... (Raja S.)

I'm coming to Ruby with a Python & Common Lisp background.

24 messages 2000/11/30

[ruby-talk:6399] Re: Thoughts on a Ruby browser

From: Charles Hixson <charleshixsn@...>
Date: 2000-11-16 17:40:01 UTC
List: ruby-talk #6399
Conrad Schneiker/Austin/Contr/IBM wrote:

> Charles Hixson wrote:
>
> # hal9000@hypermetrics.com wrote:
> ...
> # A GUI builder is a really nice feature in an IDE, but is sufficiently
> # complex that it probably isn't a good choice for inclusion in the first
> # iteration.  A later iteration should allow the GUI to be built, but
> perhaps
> # not allow the GUI to be rebuilt after the code has been modified.  How
> to
> # deal with that seems a more difficult topic best saved for later.
>
> Well, if you were using GTK, then you could use Glade (the GTK GUI-based
> GUI builder) in the mean time. And there are already usable Ruby bindings
> to GTK. (This is still a work in progress, but AFAIK, the general GUI
> capabilities of Ruby/GTK probably already significantly exceeds that of
> Ruby/Tk.) This makes it possible to use the output of Glade to generate
> Ruby/GTK programs.
>
> Also, when it comes to incorporating a GUI builder into the IDE, you could
> use a trick that almost all of the Tcl/Tk GUI builders use, which is to
> specify the GUI in terms of an icon-decorated tree structure of widgets
> (that looks somewhat similar to a directory tree in a MS Windows file
> browser) rather than to use the actual physical display layout. So you can
> still do drag-and-drop construction and modification, but you work on
> structural schematic diagrams of the GUI, rather than the target run-time
> display image of the GUI.
>
> Conrad Schneiker
> (This note is unofficial and subject to improvement without notice.)

Glade is a reasonable choice, but my experience has been that unless you are
targeting C, you may have configuration problems.  This even includes C++.
Also, the times that I've tried to install it on a Win95 system I haven't been
successful.  I presume that this will improve, but it needs to be watched!

One real benefit of choosing Glade is that it is already designed to emit code
destined for inclusion in another language.  One drawback is the difficulty of
placing items with a fixed size in a fixed position.  Or in a relative
position based on where I put it.  Dividing the screen into rows and columns
before the design is final is ... I've often ended up starting from scratch.
But it's available now, and, at least on Linux, it works now.  That's a really
big plus.

OTOH, it might be nice to build it based around XML as I understand KDE2 is
doing.  That source code is also available, though it might be quite a bit
less portable.

Or the Mozilla Composer might address the problem. (If we were going to be
using Mozilla anyway, why not use it to address GUI building?)  A Mozilla
based solution would have the advantage that a huge amount of development was
on-going, that it's already cross-platform, and that it already handles
printing (solving another thorny issue).

So my evaluation of the trade-offs (based on only a view from a distance) says
that the first thing to look at would be a Mozilla based solution.  This might
cause a huge application, but most of it would be in things that were already
present on many (most?) users machines, and perhaps the code could be shared.

-- (c) Charles Hixson
--  Addition of advertisements or hyperlinks to products specifically
prohibited



In This Thread

Prev Next