caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-announce] Mlglade prerelease announce
@ 2001-11-27 19:08 Benjamin Monate
  2001-11-28  8:06 ` [Caml-list] To glade or not to glade (Was: [Caml-announce] Mlglade prerelease announce) Florian Hars
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Monate @ 2001-11-27 19:08 UTC (permalink / raw)
  To: caml-announce; +Cc: lablgtk

Dear ocamlers,

I am happy to announce the first prerelease of mlglade : a glade to ocaml
compiler.

Glade is a freely available graphical interface builder for Gtk.
It is very powerful and enables one to quickly visually design very
complex graphical interfaces. 
It can export source code for various languages like C, C++, Perl, Eiffel.
Mlglade adds support for the OCaml language. 
It helps you to easily build ocaml applications with a gtk interface.
It is fully compatible with all OCaml versions from 3.01 to 3.03-alpha.

You can find the source and an online tutorial at
http://www.lri.fr/~monate/mlglade

This version is not complete yet but supports a large subset of gtk.


Do not hesitate to contact me for any comments, suggestions and/or bug
reports.
-- 
| Benjamin Monate         | mailto:Benjamin.Monate@lri.fr |
| LRI - Bât. 490          | http://www.lri.fr/~monate/    |
| Université de Paris-Sud | phoneto: +33 1 69 15 42 32    |
| F-91405 ORSAY Cedex     | faxto: +33 1 69 15 65 86      |


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

* [Caml-list] To glade or not to glade (Was: [Caml-announce] Mlglade prerelease announce)
  2001-11-27 19:08 [Caml-announce] Mlglade prerelease announce Benjamin Monate
@ 2001-11-28  8:06 ` Florian Hars
       [not found]   ` <20011128172124X.garrigue@kurims.kyoto-u.ac.jp>
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Hars @ 2001-11-28  8:06 UTC (permalink / raw)
  To: Benjamin Monate; +Cc: caml-list, lablgtk

On Tue, Nov 27, 2001 at 08:08:25PM +0100, Benjamin Monate wrote:
> I am happy to announce the first prerelease of mlglade : a glade to ocaml
> compiler.

OK, now we have mlglade
> http://www.lri.fr/~monate/mlglade
which uses Glade output, but is independent from libglade

the libglade support in LablGTK
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
which, obviously, is different from mlglade in that it requires
libglade

and zoggy
http://pauillac.inria.fr/~guesdon/Tools/zoggy/zoggy.html
which is an independent reimplementation of the glade functionality.

Which should I use?
:-)

Yours, Florian.
-------------------
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


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

* [Caml-list] Re: To glade or not to glade (Was: [Caml-announce] Mlglade prerelease announce)
       [not found]   ` <20011128172124X.garrigue@kurims.kyoto-u.ac.jp>
@ 2001-11-28  9:33     ` Benjamin Monate
  2001-11-28 22:42       ` Maxence Guesdon
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Monate @ 2001-11-28  9:33 UTC (permalink / raw)
  To: florian; +Cc: lablgtk, caml-list

On Wed, 28 Nov 2001 17:21:24 +0900
Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp> wrote:
> From: Florian Hars <florian@hars.de>
> > OK, now we have mlglade
> > > http://www.lri.fr/~monate/mlglade
> > which uses Glade output, but is independent from libglade
> > 
> > the libglade support in LablGTK
> > http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
> > which, obviously, is different from mlglade in that it requires
> > libglade
> > 
> > and zoggy
> > http://pauillac.inria.fr/~guesdon/Tools/zoggy/zoggy.html
> > which is an independent reimplementation of the glade functionality.
> > 
> > Which should I use?
> 
> My hope was that we would end up with a kind of compatibility between
> all these tools. At least, if they were all able to handle the glade
> xml format (or some subset of it), this would make some interaction
> possible.
> 

I agree with Jacques. At some point in the future lablgtk libglade support
and mlglade 
should be compatible. This has been discussed on the lablgtk mailing list
sometime ago. 
As for zoggy, I do not know if it has any kind of glade-like xml output.

> Well, try them all and choose the one which fits you best. 
> By the way, libglade support is currently the only approach which
> works for all widgets. But you will not obtain a lablgtk description
> of the GUI.

This is indeed the main difference :
- liblglade : dynamic loading of interface through a library and no access
to the lablgtk code of your interface. But full support of gtk.
- mlglade : complete access to lablgtk code and no external library
needed. But all gtk features are not supported yet. See the tutorial or
the README for details.

You can very quickly try both approaches and see what your prefer.
Translating my "hello world" tutorial for mlglade into a libglade one is
very easy if you read the examples in the lablgtk distribution.



-- 
| Benjamin Monate         | mailto:Benjamin.Monate@lri.fr |
| LRI - Bât. 490          | http://www.lri.fr/~monate/    |
| Université de Paris-Sud | phoneto: +33 1 69 15 42 32    |
| F-91405 ORSAY Cedex     | faxto: +33 1 69 15 65 86      |

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


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

* [Caml-list] Re: To glade or not to glade (Was: [Caml-announce] Mlglade prerelease announce)
  2001-11-28  9:33     ` [Caml-list] " Benjamin Monate
@ 2001-11-28 22:42       ` Maxence Guesdon
  0 siblings, 0 replies; 4+ messages in thread
From: Maxence Guesdon @ 2001-11-28 22:42 UTC (permalink / raw)
  To: Benjamin Monate; +Cc: florian, lablgtk, caml-list

> 
> I agree with Jacques. At some point in the future lablgtk libglade support
> and mlglade 
> should be compatible. This has been discussed on the lablgtk mailing list
> sometime ago. 
> As for zoggy, I do not know if it has any kind of glade-like xml output.

Zoggy has a xml output, but not the same as glade. The main reason is that

properties for values are ocaml code in zoggy, instead of just predefined

constants in glade.
A zoggy->glade translator would be possible but some properties values 
would be lost when the given ocaml code is different from the predefined 
ocaml code values. Parameters to generated classes defined in zoggy 
would be lost too :-(

A glade->zoggy translator would be possible, but zoggy doesn't support 
all the information that glade does. All Gtk widgets will soon be 
supported in zoggy, as well as the menu definitions, but i don't know if 
i'll add the connection of functions to events in zoggy.


--
Maxence Guesdon



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


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

end of thread, other threads:[~2001-11-28 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-27 19:08 [Caml-announce] Mlglade prerelease announce Benjamin Monate
2001-11-28  8:06 ` [Caml-list] To glade or not to glade (Was: [Caml-announce] Mlglade prerelease announce) Florian Hars
     [not found]   ` <20011128172124X.garrigue@kurims.kyoto-u.ac.jp>
2001-11-28  9:33     ` [Caml-list] " Benjamin Monate
2001-11-28 22:42       ` Maxence Guesdon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).