Hi, we, Andreas and I, currently developing webkit bindings for haskell on top of webkitgtk. We plan to have our first release next week, and currently writing doc and work up the last todos.
Since we working with the gtk toolkit version of webkit, we are
using much of the glib and gtk functions binded from gtk2hs
into the haskell world. In the webkitgtk api some functions
return gtk GObjects and for succesfully integrate them
we have to query some GType informations. Sadly non
of the gtk_*_get_type function we needed is binded in
gtk2hs.
Is there any reason why these aren't binded? Maybe
there is a other way in gtk2hs we didn't see.
Here is a code sniped to show one of the main points
where we need those functions:
webViewGetIMContext
:: WebView
-> IO IMContext
webViewGetIMContext web_view = do
imct <- {#call gtk_im_context_get_type#}
objectGetPropertyGObject imct "im-context" web_view
If there is no reason for them to be not binded, I would
like to provide patches to integrate them into mainstream
gtk2hs and get rid of the direct ffi/gtk+ in our package.
Please excuse my cruel english.
regards Daniel
pgptxqODLAkGV.pgp
Description: PGP signature
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Gtk2hs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
