Make a wrapper. Use the argument value you for sure can specify to the external API (a void* or alike) to pass back to you on callback, as id to your internal routine.<br><br><div class="gmail_quote">2011/11/3 Vok Vojwo <span dir="ltr"><<a href="mailto:ceving@gmail.com">ceving@gmail.com</a>></span><br>

<div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
But it is of limited use if it comes to Gtk callbacks. If one<br>
dynamically creates Gtk widgets it is necessary to be able to assign<br>
them callbacks. If the definition of the callback must be done on the<br>
Scheme top level and always requires a C name the whole code becomes<br>
quite static.<br></blockquote></div><br>