Re: [Caml-list] ocaml glade gtk3

Jacques Garrigue <[email protected]> Fri, 19 Jul 2013 19:04:42 +0900
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
On 2013/07/19, at 18:58, [email protected] wrote:

> 
> Hello,
> 
> I was using ocaml + lablgtk2 + glade.
> Glade is a tool to graphically design user interfaces. It used to generate glade 2 files (designed for gtk2) until version 3.8. Then I used "lablgladecc2" to convert them in ocaml.
> 
> Now "lablgladecc2" is not appropriate anymore starting with glade 3.10 that generates glade 3 files (designed for gtk3). I was using as a workaround "glade-gtk2" in ubuntu that still generated glade 2 files. But glade-gtk2 is not available anymore in debian, and is not supposed to be available forever in ubuntu. 
> 
> Also, lablgtk3 is still in development. 
> 
> What do you think is the most sensible thing to do (max benefits, less efforts) ?
> 
> - wait for lablgtk3 with gtkbuilder support
> - wait for lablgtk3 without gtkbuilder support, forget glade, and hardcode all graphical windows (30 windows to convert maybe ?) in lablgtk3
> - forget glade, and hardcode all graphical windows (30 windows to convert maybe ?) in lablgtk2
> - other ?

Unfortunately, I must say that lablgtk3 is not around the corner yet.
There is a stub generator, which should make the transition easier,
but there is still a lot of work if we want to keep some compatibility with gtk2,
and I do not have much time to invest in it.

The other option is to add gtkbuilder support to lablgtk2.
I started once, but stopped thinking that moving to gtk3 would be faster.
Since this is not the case, this may be worth it, as this should not be a big effort.

	Jacques