_WRAP_SIGNAL and generate_extra_defs



I'm having slight problem wrapping signals that expect GdkEvent* structures.

I checked my libgoocanvasmm_signals.defs and found that all the signals are listed as GdkEvent* instead of the appropriate GdkEventButton* (or whatever might be the case)

Ie:

(define-signal button-release-event
  (of-object "GooCanvasItemView")
  (return-type "gboolean")
  (when "last")
  (parameters
    '("GooCanvasItemView*" "p0")
    '("GdkEvent*" "p1")
  )
)

should obviously be GdkEvent*


So this is causing holy hell for me at the moment.  But now its time to passout. More work to be done tomorrow.

If anyone has any ideas, let me know.

Paul


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