Hello,
On Thursday, October 16, 2014 3:03:34 PM UTC+2, Isaiah wrote:
>
> Your error looks to be in gtk.jl. try to make a reduced example.
well, the error is somehow on my side, as i try to extend Gtk.jl while not
fully understanding the internals...
I want to have a plain GtkDrawingArea (not the GtkCanvas with all the help
functions defined in cairo.jl and similar), because i want to port some
python/pygtk code (and it's also closer to the Gtk documentation). I forgot
to look more closely at cairo.jl which uses (as in all gtk widget
functions) a macro gtktype which seems to do some magic with the argument
names to derive from (e.g.) GtkDrawingArea the name gtk_drawing_area,
something that doesn't fully work with the module prefix (e.g.)
Gtk.GtkDrawingArea ~> gtk_gtk_drawing_area (i have not checked, but i
assume).
I'll go on working with a local copy of cairo.jl and maybe later provide a
PR to Gtk.jl.
Still, there is room for improvement about the error messages themselfs and
there should be somehow a counterpart in the documentation (yes, i know,
filing an issue would be nice).
Wishing a happy day from rainy Bavaria,
Andreas