stubs and callbacks
- From: David Monniaux <monniaux clipper ens fr>
- To: GTK+ list <gtk-list redhat com>
- Subject: stubs and callbacks
- Date: Mon, 19 Jan 1998 20:02:56 +0100 (MET)
Hi,
I'm working on Caml bindings for gtk+.
I have problems with callbacks.
I'd like to use gtk_signal_connect to bind a signal to a generic function
with a specific parameter.
I used:
value mlgtk_callback_exec(GtkObject *obj, value x)
gtk_signal_connect(object, name, mlgtk_callback_exec, SOME_VALUE);
Will x be equal to SOME_VALUE or to a pointer on SOME_VALUE?
It seems neither of those is the case...
Regards,
David
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]