Gour <g...@gour-nitai.com> writes:

> On Tue, 10 Nov 2009 09:06:04 +0800
>>>>>>> "Andy" == Andy Stewart <lazycat.mana...@gmail.com> wrote:
>
> Andy> Above is not truth.
>
> Hmm..
> Andy> In developing version of gtk2hs, we have update some part to
> Andy> 2.18.3 Of course, not all code have update to 2.18, we need
> Andy> people help us update-to-date.
>
> It would be nice to update the above mentioned page to reflect the
> truth. Otherwise, Haskell bindings look as almost-abandoned covering
> only up to 2.10 and with partial support of 2.12.
When we binding new module that gtk2hs haven't exist, we won't
binding `deprecated` functions that comment in Gtk+ API.

>
> Andy> Now, just few gtk2hs developers on update-to-date work.
>
> Yeah, I'm aware of it...will try to help.
Thanks, just send us patch! :)
If you occur some problem when binding, just post here, we will help you.

>
> Otoh, I unsubscribed (by mistake) from the list and wasm't aware of
> Axel's 'Creating new bindings' post and therefore sent my 'roadmap'
> post.
Because Axel fix ApiGen tools under directory "gtk2hs/tools/apiGen/",
ApiGen will download newest Gtk+ source code then generate Haskell
binding code automatically, you just copy file (unpack from 
http://www.di.ens.fr/~simona/gtk-modules.tgz) to right path, then add
path to Makefile.am, then you can run `make` for test.

Example, i binding new module `Graphics.UI.Gtk.Windows.Invisible`, i
copy Invisible.chs.pp to
`gtk2hs/gtk/Graphics/UI/Gtk/Windows/Invisible.chs.pp`,
then i add 

        gtk/Graphics/UI/Gtk/Windows/Invisible.chs.pp                    \

To Makefile.am

Then `make` again.

That's all, you don't need do anything, so easy!

Of course, ApiGen maybe generate wrong code for difficult function,
so you need modified those binding code manually, and you need test those
functions after you binding it.

BTW, Axel, you need post your "Create new bindings" to gtk2hs homepage,
and not just gtk2hs-devel list, then will many haskellers help us.

>
> Still, it would be nice to update web-site with the clear info about
> the curent status of binding along with some roadmap for future
> release(s) and plans for future improvements etc.
That's good, infact gtk2hs will be perfect if have many people help us
binding and test new code, because ApiGen generate most code
automatically, very easy.

>
> Andy> GTK-3.0 stable enough?
> Andy> If so, we will try update to Gtk-3.0.
>
> Well, 2.20 will be released soon, and the next one can evolve into 3.0.
Yeah, we will try to update-to stable version of Gtk+.

Cheers,

  -- Andy


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to