From: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
To: Vitaly Lugovsky <vsl@ontil.ihep.su>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Kylix and OCaml
Date: Tue, 20 Nov 2001 09:51:57 +0100 [thread overview]
Message-ID: <3BFA19AD.D82433C3@univ-savoie.fr> (raw)
In-Reply-To: <Pine.LNX.4.33.0111200501100.31122-100000@ontil.ihep.su>
Vitaly Lugovsky a écrit :
>
> On Mon, 19 Nov 2001, Christophe Raffalli wrote:
>
> >
> > A friend of mine showed me Kylix (see Borland's home page:
> > http://www.borland.com)... It looks great to create
> > user interfaces.
>
> It is an illusion. Don't believe your eyes. Tools like Delphi/Kylix/...
> will not help you at all - it's much faster to write an UI in Tk by hands
> then using such a WYSIWIG.
I will not comment for Kylix ... But I was a user of the not very unfamous
SUIT. And I can tell you are wrong. SUIT was design with two ideas:
- use real number for sizes to allow scaling (that was not really a good idea)
- each widget have properties (like colors, size, fonts, etc ...)
- widgets can be grouped to share some properties (independetly of the fact
they are parents)
- AND each kind of property is associated with a widget to
allow its modification (for instance a font selection dialog, or
scroll bar for the position of an element in a window).
With that it took only a couple of minutes to write a Text processor more
complete than you may think (possible to select fonts, short cuts, etc ..)
moreover, you only had to write very few lines of code (in fact only the
line saving the buffer in a file and reading a file)
And last point: SUIT produced its output in a readable interface description
language and translated that (to C or C++ I can not remember). So you could use
it without graphical interface if you did not like that :-)
> But, if you want WYSIWIG GUI tool, just use Glade - it produces a
> portable XML representation for GUI dialogs, and, I belive, it'll be
> pretty easy to use it from Caml.
>
> > So using CamlIDL, it should be easy to make Kylix use our favorite language and
> > get interfaces (portable under both Linux and Windows) in no time ?
>
> Why do you want such a havy and thick GUI layer? GUI is for scripts!
> Use Wish, it's portable. Much more portable, then Bugland tools.
Kylix is in fact quite responsive and light (working on powerless PCs).
If you mean heavy because the professionnal edition has numerous widget (like
every thing to write a database client or a web browser in a couple of
minutes). In fact I am quite amased with the speed for a package of 120Mo when
installed for the pro version (I think that the 120Mo are mainly the widgets
and examples). It shows that it is well implemented (other software like
star-office let you see that they are big !)
But then I agree that they may be other solutions using a language to describe
the interface.
But what are the solutions (language or WYSIWIG) immediately available for
OCaml ?
Are they complete (how many kind of widgets supported ?)
--
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex
tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-11-20 11:16 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-16 19:37 [Caml-list] [Q]: Co(ntra)variance and subtyping? Clemens Hintze
2001-11-17 14:18 ` Mark Wotton
2001-11-17 14:55 ` Mark Wotton
2001-11-17 17:50 ` [Caml-list] " Clemens Hintze
2001-11-17 23:17 ` Mark Wotton
2001-11-18 9:16 ` Clemens Hintze
2001-11-18 13:18 ` Alain Frisch
2001-11-19 9:54 ` Remi VANICAT
[not found] ` <9t7v4d$gij$1@qrnik.zagroda>
2001-11-18 11:57 ` Marcin 'Qrczak' Kowalczyk
2001-11-18 13:34 ` [Caml-list] " Andreas Rossberg
2001-11-18 21:22 ` Pixel
2001-11-19 0:33 ` Jacques Garrigue
2001-11-18 22:35 ` David Gurr
2001-11-19 7:24 ` [Caml-list] " Clemens Hintze
2001-11-19 12:03 ` Markus Mottl
2001-11-19 8:29 ` [Caml-list] " Xavier Leroy
2001-11-19 11:03 ` Alain Frisch
2001-11-20 9:58 ` Didier Remy
2001-11-19 11:14 ` Pixel
2001-11-18 22:30 ` [Caml-list] Re: variance, subtyping and monads... oh, my! james woodyatt
2001-11-19 8:11 ` Francois Pottier
2001-11-19 9:02 ` james woodyatt
2001-11-19 9:58 ` Markus Mottl
2001-11-19 20:47 ` james woodyatt
2001-11-19 12:56 ` Frank Atanassow
2001-11-19 10:39 ` Andreas Rossberg
2001-11-19 12:21 ` Markus Mottl
2001-11-19 13:43 ` [Caml-list] Kylix and OCaml Christophe Raffalli
2001-11-20 2:05 ` Vitaly Lugovsky
2001-11-20 8:51 ` Christophe Raffalli [this message]
2001-11-22 1:42 ` Vitaly Lugovsky
2001-11-20 10:00 ` Benjamin Monate
2001-11-20 10:24 ` [Caml-list] [Bug in an interface between C++ and OCAML due to some pointer encapsulation] Sylvain Kerjean
2001-11-20 12:14 ` [Caml-list] Kylix and OCaml Maxence Guesdon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BFA19AD.D82433C3@univ-savoie.fr \
--to=christophe.raffalli@univ-savoie.fr \
--cc=caml-list@inria.fr \
--cc=vsl@ontil.ihep.su \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox