English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Some labltk widgets missing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-01 (13:33)
From: Satoshi Fujiwara <fujitets@w...>
Subject: Re: [Caml-list] Some labltk widgets missing

Now I see. Thank you for your reply.

Let me ask another question.
# Maybe it's a FAQ...

Why camltk and labltk both exists?
These look like twins for me.
What is the role of these two libraries?
(I think if there is no need to use the camltk...)

Jacques Garrigue wrote:
> From: Satoshi Fujiwara <fujitets@w2.dion.ne.jp>
>> Now I'm using 'labltk' with ocaml-3.09.3, and realized that
>> some widgets such as 'labelframe', 'spinbox', etc are missing.
>> I like to using 'labltk' because it's easy to use, but
>> when I check the tk8.4's demo, I found many functions are
>> not supported in 'labltk'.
> The widgets supported in camltk/labltk are those of tk8.0.
> New widgets were not added to keep compatibility, but since Tcl/Tk
> seems to have finally converged on 8.4, this might be a good idea to
> add the new widgets now. This is easy to do: mainly editing the
> Widgets.src file. But this is time consuming: one has to check by hand
> the Tcl/Tk documentation to find all the missing functions and
> parameters... So this will probably not be in 3.10.0, but could be
> done in a reasonably close future.
>> Is there any plan to upgrading 'labltk'?
>> Should I use 'lablgtk2' or something instead of 'labltk'?
> Use the one that fits your needs. There are more widgets in gtk2, but
> they can be harder to use.
> Jacques Garrigue