[Gtk-sharp-list] No Atk.Global.AddGlobalEventListener ??
danw at novell.com
Fri Jun 17 13:35:02 EDT 2005
On Fri, 2005-06-17 at 16:29 +0300, Dragan Sarbut wrote:
> I now that in C I can use this function:
> guint atk_add_global_event_listener (GSignalEmissionHook litener, const gchar *event_type);
> Is there something similar implemented in Atk# ?
atk_add_global_event_listener ends up not being wrapped, because GLib#
doesn't have a wrapper type for GSignalEmissionHook.
This is a bug, and you should file it against gtk# at
bugzilla.ximian.com. But it may not be fixed any time soon. In the
meantime, you can copy the prototype of GSignalEmissionHook and make
your own delegate corresponding to it, and then manually call
atk_add_global_event_listener (after DllImporting it from libatk).
More information about the Gtk-sharp-list