GNOME Bugzilla – Bug 636812
Support annotating the type of the callback in a GClosure
Last modified: 2018-01-24 19:11:29 UTC
There is currently no way to annotate the callback contained in a GClosure, which limits the usefulness of methods with GClosure arguments. For example, gtk_accel_group_connect's closure argument should contain a GtkAccelGroupActivate. Using element-type seems logical.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Unlikely to happen; typically, the arguments in GClosures are marshalled via GValues anyway, and it's up to the language binding to turn GValues into real types before dispatching the native callback.