Wrapping GooCanvas



Hey,

I'm working on wrapping goocanvas and I'm having a few issues.

Issue #1:

I have no idea how to wrap this function:

(define-method get_items_at
 (of-object "GooCanvasItem")
 (c-name "goo_canvas_item_get_items_at")
 (return-type "GList*")
 (parameters
   '("gdouble" "x")
   '("gdouble" "y")
   '("cairo_t*" "cr")
   '("gboolean" "is_pointer_event")
   '("gboolean" "parent_is_visible")
   '("GList*" "found_items")
 )
)

Specifically, the GList as a parameter is causing me problems. I can't
figure out if I need to add a conversion macro thinger in
tools/m4/convert_goocanvas.m4 or if I need to write a hand-coded
method.

Issue #2:

I'm trying to wrap a struct with _CLASS_BOXEDTYPE_STATIC, and gmmproc
appears to be having some sort of error.  Its not writing out any
class definition in the generated .h file and its not giving any sort
of error message when the translation happens.

Any help would be appreciated.

Paul Davis



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]