So far, this is all I have run into, but admittedly I haven't done extensive testing.

If you want, I can get my lib further along, and do more testing and give you a summary of what I find.  It might be easier to get a handle on how big of a conversion project this will be at that time....


On Mon, Nov 4, 2013 at 7:27 PM, Daniel Wagner <> wrote:
Hm. At the moment, gtk2hs doesn't really support creating new widgets
from within Haskell. So it doesn't surprise me that something breaks if
you find a way to do that. I'm personally pretty happy turning unsafe
FFI calls to safe ones; but is this the only thing that will need to
change? I wonder what other unsafe calls assume that all widgets are
implemented in C?


On 2013-11-04 00:26, J H wrote:
> Hi all-
> I've used bindings-gobject to create a new widget with its own
> property... And everything worked great with gtk2hs except one small
> thing.  "get" (which wraps g_object_get_property) is declared as an
> unsafe ffi call, so when it tried to call my haskell getter function,
> it failed.  Upon simply deleting the word "unsafe" from line 126 in
> System/Glib/Properties.chs, everything worked.
> Is this something that could be changed in the official release?
> thanks
> Jamshid
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform
> that
> developers love is also attractive to malware creators. Download this
> white
> paper to learn more about secure code signing practices that can help
> keep
> Android apps secure.
> _______________________________________________
> Gtk2hs-users mailing list

November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
Gtk2hs-users mailing list