static uint AddKeyEventListener_cb (AtkSharp.KeySnoopFuncNative listener, IntPtr data) { try { uint __result; AtkSharp.KeySnoopFuncInvoker listener_invoker = new AtkSharp.KeySnoopFuncInvoker (listener, data); __result = add_key_event_listener_handler (listener_invoker.Handler); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } }
static uint AddFocusHandler_cb (IntPtr inst, AtkSharp.FocusHandlerNative handler) { try { IComponentImplementor __obj = GLib.Object.GetObject (inst, false) as IComponentImplementor; uint __result; AtkSharp.FocusHandlerInvoker handler_invoker = new AtkSharp.FocusHandlerInvoker (handler); __result = __obj.AddFocusHandler (handler_invoker.Handler); return __result; } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException (e, true); // NOTREACHED: above call does not return. throw e; } }
static extern uint atk_add_key_event_listener(AtkSharp.KeySnoopFuncNative listener, IntPtr data);
static extern uint atk_add_focus_tracker(AtkSharp.EventListenerNative focus_tracker);
static extern uint atk_component_add_focus_handler(IntPtr raw, AtkSharp.FocusHandlerNative handler);
static extern void atk_focus_tracker_init(AtkSharp.EventListenerInitNative init);