예제 #1
0
파일: Util.cs 프로젝트: akrisiun/gtk-sharp
		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;
			}
		}
예제 #2
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;
			}
		}
예제 #3
0
		static extern uint atk_add_key_event_listener(AtkSharp.KeySnoopFuncNative listener, IntPtr data);
예제 #4
0
		static extern uint atk_add_focus_tracker(AtkSharp.EventListenerNative focus_tracker);
예제 #5
0
		static extern uint atk_component_add_focus_handler(IntPtr raw, AtkSharp.FocusHandlerNative handler);
예제 #6
0
파일: Focus.cs 프로젝트: akrisiun/gtk-sharp
		static extern void atk_focus_tracker_init(AtkSharp.EventListenerInitNative init);