Hi,

I've tried using pointers (Ptr a) but (DC a) and (Gtk.DrawWindow) aren't
members of `Storable`.

On Linux WxWidgets is written on top of GTK and I am trying to access an
underlying Gtk.DrawWindow so that I can perform cairo rendering on that
window.

Any ideas?

Vivian


On 31 August 2014 19:33, Henning Thielemann <
schlepp...@henning-thielemann.de> wrote:

> Am 31.08.2014 um 06:48 schrieb Vivian McPhail:
>
>
>  foreign import ccall unsafe "plot.cc gdk_get_drawable"
>>          c_gdkGetDrawable :: DC a -> IO Gtk.DrawWindow
>>
>
>  How do I fix these errors?
>>
>
> You certainly need to use pointers, e.g. Ptr (DC a).
>
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to