comp.lang.ada
 help / color / mirror / Atom feed
* Re: Best option for portable GUI?
@ 2003-01-17 11:26 Grein, Christoph
  2003-01-17 13:31 ` Marin David Condic
  0 siblings, 1 reply; 12+ messages in thread
From: Grein, Christoph @ 2003-01-17 11:26 UTC (permalink / raw)
  To: comp.lang.ada

> I've heard of some options:
> 
> GtkAda: Seems a good option but with steep learning curve?
> 
> Claw: isn't free... 

The intro version is free (GMGPL)

Personally, I've found Claw more intuitive and easier to use than GtkAda.

But Claw is bound to Windows, GtkAda can run on both, Windows and Linux.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Best option for portable GUI?
  2003-01-17 11:26 Best option for portable GUI? Grein, Christoph
@ 2003-01-17 13:31 ` Marin David Condic
  2003-01-17 14:22   ` XML GUI, was " tmoran
  2003-01-17 17:35   ` Robert C. Leif
  0 siblings, 2 replies; 12+ messages in thread
From: Marin David Condic @ 2003-01-17 13:31 UTC (permalink / raw)


Both have their advantages. GtkAda has as its biggest advantage that it can
run in a number of places. Claw has as its advantage that it is easier to
use and more intuitive - especially for those used to building Windows apps.
GtkAda has the resizable widgets that may be more attractive to some but
makes it a) difficult to learn how to use and b) difficult to get a nice
looking window constructed without lots of experience. It has improved some
in that there are various documents floating around that help get you up to
speed, but not all in one nice, convenient location and it tends to suffer
from that "Well, go look at the C code and the C documentation and then
you'll understand..." syndrome. I like Claw, but it is hard to argue with
the portability factor in GtkAda if you consider that at all important to
your project.

It would be nice to see Ada evolve some sort of standard, portable GUI in a
manner similar to what Java does - use a graphics engine and some flavor of
XML to build a GUI server.

MDC
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

    "I'd trade it all for just a little more"
        --  Charles Montgomery Burns, [4F10]
======================================================================

Grein, Christoph <christoph.grein@eurocopter.com> wrote in message
news:mailman.2.1042803271.18144.comp.lang.ada@ada.eu.org...
>
> The intro version is free (GMGPL)
>
> Personally, I've found Claw more intuitive and easier to use than GtkAda.
>
> But Claw is bound to Windows, GtkAda can run on both, Windows and Linux.





^ permalink raw reply	[flat|nested] 12+ messages in thread

* XML GUI, was Re: Best option for portable GUI?
  2003-01-17 13:31 ` Marin David Condic
@ 2003-01-17 14:22   ` tmoran
  2003-01-17 17:35     ` Robert C. Leif
                       ` (3 more replies)
  2003-01-17 17:35   ` Robert C. Leif
  1 sibling, 4 replies; 12+ messages in thread
From: tmoran @ 2003-01-17 14:22 UTC (permalink / raw)


> XML to build a GUI server.
  Pardon my ignorance, but can you draw real-time moving images
with XML?  For instance a picture that morphs between dog and cat
as you drag the mouse left and right?  Or does GUI mean essentially
text and static images?



^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: XML GUI, was Re: Best option for portable GUI?
  2003-01-17 14:22   ` XML GUI, was " tmoran
@ 2003-01-17 17:35     ` Robert C. Leif
  2003-01-17 22:41     ` Dale Stanbrough
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Robert C. Leif @ 2003-01-17 17:35 UTC (permalink / raw)
  To: 'comp.lang.ada mail<->news gateway'

Yes, one uses scalable vector graphics (SVG) for animation.
Bob Leif

-----Original Message-----
From: tmoran@acm.org [mailto:tmoran@acm.org] 
Sent: Friday, January 17, 2003 6:23 AM
To: comp.lang.ada@ada.eu.org
Subject: XML GUI, was Re: Best option for portable GUI?

> XML to build a GUI server.
  Pardon my ignorance, but can you draw real-time moving images
with XML?  For instance a picture that morphs between dog and cat
as you drag the mouse left and right?  Or does GUI mean essentially
text and static images?




^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Best option for portable GUI?
  2003-01-17 13:31 ` Marin David Condic
  2003-01-17 14:22   ` XML GUI, was " tmoran
@ 2003-01-17 17:35   ` Robert C. Leif
  2003-01-17 18:20     ` achrist
  1 sibling, 1 reply; 12+ messages in thread
From: Robert C. Leif @ 2003-01-17 17:35 UTC (permalink / raw)
  To: 'comp.lang.ada mail<->news gateway'

This is now becoming feasible. The next portable GUI should employ XForms.
For Windows this can be downloaded from http://www.formsplayer.com/
Frankly, since the literature posted at this site did not include a complete
working example, I had to ask for help on their Yahoo list. A gentleman
kindly sent me an example, which I will gladly e-mail to interested parties.
The bottom line is that one no longer needs JavaScript or the equivalent.
The combination of an Ada binding to XForms and an extended version of Tom
Moran's Simple_Server would be ideal for embedded applications. The use of
XForms and XML with the A# .NET compiler would permit the development of
very powerful Windows applications, which could be ported to other operating
systems. 
Bob Leif

-----Original Message-----
From: Marin David Condic [mailto:mcondic.auntie.spam@acm.org] 
Sent: Friday, January 17, 2003 5:32 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: Best option for portable GUI?

Both have their advantages. GtkAda has as its biggest advantage that it can
run in a number of places. Claw has as its advantage that it is easier to
use and more intuitive - especially for those used to building Windows apps.
GtkAda has the resizable widgets that may be more attractive to some but
makes it a) difficult to learn how to use and b) difficult to get a nice
looking window constructed without lots of experience. It has improved some
in that there are various documents floating around that help get you up to
speed, but not all in one nice, convenient location and it tends to suffer
from that "Well, go look at the C code and the C documentation and then
you'll understand..." syndrome. I like Claw, but it is hard to argue with
the portability factor in GtkAda if you consider that at all important to
your project.

It would be nice to see Ada evolve some sort of standard, portable GUI in a
manner similar to what Java does - use a graphics engine and some flavor of
XML to build a GUI server.

MDC
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

    "I'd trade it all for just a little more"
        --  Charles Montgomery Burns, [4F10]
======================================================================

Grein, Christoph <christoph.grein@eurocopter.com> wrote in message
news:mailman.2.1042803271.18144.comp.lang.ada@ada.eu.org...
>
> The intro version is free (GMGPL)
>
> Personally, I've found Claw more intuitive and easier to use than GtkAda.
>
> But Claw is bound to Windows, GtkAda can run on both, Windows and Linux.






^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Best option for portable GUI?
  2003-01-17 17:35   ` Robert C. Leif
@ 2003-01-17 18:20     ` achrist
  2003-01-18 11:17       ` Eric G. Miller
  2003-01-18 16:01       ` Robert C. Leif
  0 siblings, 2 replies; 12+ messages in thread
From: achrist @ 2003-01-17 18:20 UTC (permalink / raw)


"Robert C. Leif" wrote:
> 
> This is now becoming feasible. The next portable GUI should employ XForms.
> For Windows this can be downloaded from http://www.formsplayer.com/

The site says that the client uses the web browser.  This is ok,
but it says for Windows use IE 6. 

What other browsers work with XForms?

I assume that 'portable' can't mean that we have to use IE 6.

Al



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XML GUI, was Re: Best option for portable GUI?
  2003-01-17 14:22   ` XML GUI, was " tmoran
  2003-01-17 17:35     ` Robert C. Leif
@ 2003-01-17 22:41     ` Dale Stanbrough
  2003-01-18 10:45     ` Eric G. Miller
  2003-01-18 14:29     ` Marin David Condic
  3 siblings, 0 replies; 12+ messages in thread
From: Dale Stanbrough @ 2003-01-17 22:41 UTC (permalink / raw)


tmoran@acm.org wrote:

>   Pardon my ignorance, but can you draw real-time moving images
> with XML?  For instance a picture that morphs between dog and cat
> as you drag the mouse left and right?  Or does GUI mean essentially
> text and static images?

<transition>
   <morph>
      <from dog>
      <to cat>
   </morph>
</transition>

Of course XML doesn't draw anything. It specifies things.
Apple have used PDF as the specification language for their interface.
Why not XML?

dale



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XML GUI, was Re: Best option for portable GUI?
  2003-01-17 14:22   ` XML GUI, was " tmoran
  2003-01-17 17:35     ` Robert C. Leif
  2003-01-17 22:41     ` Dale Stanbrough
@ 2003-01-18 10:45     ` Eric G. Miller
  2003-01-18 14:29     ` Marin David Condic
  3 siblings, 0 replies; 12+ messages in thread
From: Eric G. Miller @ 2003-01-18 10:45 UTC (permalink / raw)


In article <2lUV9.22373$Yq3.6351@sccrnsc02>, tmoran@acm.org wrote:
>> XML to build a GUI server.
>   Pardon my ignorance, but can you draw real-time moving images
> with XML?  For instance a picture that morphs between dog and cat
> as you drag the mouse left and right?  Or does GUI mean essentially
> text and static images?

With the libglade for gtk (not the GNAT GLADE), the XML connects
callbacks to widgets like a pixbuf.  AFAIK, once the XML is parsed into
the widgets and callbacks and instantiated, it's running whatever code
you've hooked to the widgets.  So, I guess "real-time" at that point is
up to the OS ;-)  I've no idea if there's a libgladeada type of thing
with the GtkAda binding...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Best option for portable GUI?
  2003-01-17 18:20     ` achrist
@ 2003-01-18 11:17       ` Eric G. Miller
  2003-01-19  5:02         ` Robert C. Leif
  2003-01-18 16:01       ` Robert C. Leif
  1 sibling, 1 reply; 12+ messages in thread
From: Eric G. Miller @ 2003-01-18 11:17 UTC (permalink / raw)


In article <3E284969.85FF8394@easystreet.com>, achrist@easystreet.com wrote:
> "Robert C. Leif" wrote:
>> 
>> This is now becoming feasible. The next portable GUI should employ XForms.
>> For Windows this can be downloaded from http://www.formsplayer.com/
> 
> The site says that the client uses the web browser.  This is ok,
> but it says for Windows use IE 6. 
> 
> What other browsers work with XForms?

XForms is still just a candidate standard.  However, my take is XForms
is a a better HTML forms method, but not necessarily rich enough to
specify a general GUI.  I could be wrong...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: XML GUI, was Re: Best option for portable GUI?
  2003-01-17 14:22   ` XML GUI, was " tmoran
                       ` (2 preceding siblings ...)
  2003-01-18 10:45     ` Eric G. Miller
@ 2003-01-18 14:29     ` Marin David Condic
  3 siblings, 0 replies; 12+ messages in thread
From: Marin David Condic @ 2003-01-18 14:29 UTC (permalink / raw)


Well, gee, I don't know. I've never tried. :-) Maybe with the speed of
today's computers and a fast enough communication link it might actually
work O.K.

Just because a particular approach would not be amenable to *every* possible
application doesn't mean it shouldn't be tried or might not be a suitable
direction down which to go. For example: Are web pages across the internet
suitable to that sort of realtime animation? Not usually, but that doesn't
stop them from being a suitable interface for truckloads of applications. In
a situation like this you have to pick a direction and go there without
worrying about the fact that it isn't perfect for everything.

It would seem that defining and adopting some approach to doing GUIs with
Ada as a "standard" and "portable" means of user I/O would be a good thing.
If it was innovative and unique enough - providing features not commonly
seen in Windows or Linux or Mac apps, it might create a kind of "product
distinction" and an incentive to use Ada to get these extra capabilities. It
might possibly provide large amounts of developmental leverage that would
create an incentive for using Ada. People might say "I want that GUI... Oh?
I have to program in Ada to use that GUI? O.K. I guess we'll switch to that
language..." Its happened before.

MDC
--
======================================================================
Marin David Condic
I work for: http://www.belcan.com/
My project is: http://www.jast.mil/

Send Replies To: m c o n d i c @ a c m . o r g

    "I'd trade it all for just a little more"
        --  Charles Montgomery Burns, [4F10]
======================================================================

<tmoran@acm.org> wrote in message news:2lUV9.22373$Yq3.6351@sccrnsc02...
> > XML to build a GUI server.
>   Pardon my ignorance, but can you draw real-time moving images
> with XML?  For instance a picture that morphs between dog and cat
> as you drag the mouse left and right?  Or does GUI mean essentially
> text and static images?





^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Best option for portable GUI?
  2003-01-17 18:20     ` achrist
  2003-01-18 11:17       ` Eric G. Miller
@ 2003-01-18 16:01       ` Robert C. Leif
  1 sibling, 0 replies; 12+ messages in thread
From: Robert C. Leif @ 2003-01-18 16:01 UTC (permalink / raw)
  To: 'comp.lang.ada mail to news gateway'

XForms is a W3C standard. There are implementations on other operating
systems. Please see http://www.w3.org/MarkUp/Forms/
Obviously, an Ada implementation of an Ada plug-in for XForms would be my
preference.
Bob Leif

-----Original Message-----
From: achrist@easystreet.com [mailto:achrist@easystreet.com] 
Sent: Friday, January 17, 2003 10:20 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: Best option for portable GUI?

"Robert C. Leif" wrote:
> 
> This is now becoming feasible. The next portable GUI should employ XForms.
> For Windows this can be downloaded from http://www.formsplayer.com/

The site says that the client uses the web browser.  This is ok,
but it says for Windows use IE 6. 

What other browsers work with XForms?

I assume that 'portable' can't mean that we have to use IE 6.

Al




^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Best option for portable GUI?
  2003-01-18 11:17       ` Eric G. Miller
@ 2003-01-19  5:02         ` Robert C. Leif
  0 siblings, 0 replies; 12+ messages in thread
From: Robert C. Leif @ 2003-01-19  5:02 UTC (permalink / raw)
  To: 'comp.lang.ada mail to news gateway'

" XForms is still just a candidate standard.  However, my take is XForms
is a a better HTML forms method, but not necessarily rich enough to
specify a general GUI.  I could be wrong..."
You probably are. Since XForms can work with both XSL and SVG, it has a very
rich environment. It is much more than "a better HTML forms method". It
includes most of the required functionality supplied by JavaScript. The
other required functionality should be supplied by Ada.
XForms is a candidate recommendation, which usually means that it will have
very few changes prior to becoming a W3 standard.
Bob Leif

-----Original Message-----
From: Eric G. Miller [mailto:felix@calico.local] 
Sent: Saturday, January 18, 2003 3:18 AM
To: comp.lang.ada@ada.eu.org
Subject: Re: Best option for portable GUI?

In article <3E284969.85FF8394@easystreet.com>, achrist@easystreet.com wrote:
> "Robert C. Leif" wrote:
>> 
>> This is now becoming feasible. The next portable GUI should employ
XForms.
>> For Windows this can be downloaded from http://www.formsplayer.com/
> 
> The site says that the client uses the web browser.  This is ok,
> but it says for Windows use IE 6. 
> 
> What other browsers work with XForms?

XForms is still just a candidate standard.  However, my take is XForms
is a a better HTML forms method, but not necessarily rich enough to
specify a general GUI.  I could be wrong...

-- 
echo ">gra.fcw@2ztr< eryyvZ .T pveR" | rot13 | reverse




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-01-19  5:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 11:26 Best option for portable GUI? Grein, Christoph
2003-01-17 13:31 ` Marin David Condic
2003-01-17 14:22   ` XML GUI, was " tmoran
2003-01-17 17:35     ` Robert C. Leif
2003-01-17 22:41     ` Dale Stanbrough
2003-01-18 10:45     ` Eric G. Miller
2003-01-18 14:29     ` Marin David Condic
2003-01-17 17:35   ` Robert C. Leif
2003-01-17 18:20     ` achrist
2003-01-18 11:17       ` Eric G. Miller
2003-01-19  5:02         ` Robert C. Leif
2003-01-18 16:01       ` Robert C. Leif

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