Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Jacques Garrigue <garrigue@m...>
Subject: Re: [Caml-list] Some labltk widgets missing
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