コード例 #1
0
 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;
     }
 }
コード例 #2
0
 static extern uint atk_component_add_focus_handler(IntPtr raw, AtkSharp.FocusHandlerNative handler);