public uint AddFocusHandler(Atk.FocusHandler handler)
        {
            AtkSharp.FocusHandlerWrapper handler_wrapper = new AtkSharp.FocusHandlerWrapper(handler);
            uint raw_ret = atk_component_add_focus_handler(Handle, handler_wrapper.NativeDelegate);
            uint ret     = raw_ret;

            return(ret);
        }
예제 #2
0
 public FocusHandlerWrapper(Atk.FocusHandler managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new FocusHandlerNative(NativeCallback);
     }
 }
        public virtual uint AddFocusHandler(Atk.FocusHandler handler)
        {
            if (focusHandlers.ContainsValue(handler))
            {
                return(0);
            }

            lastFocusHandlerId++;
            focusHandlers[lastFocusHandlerId] = handler;
            return(lastFocusHandlerId);
        }
 public uint AddFocusHandler(Atk.FocusHandler handler)
 {
     return(0);
 }
예제 #5
0
 public uint AddFocusHandler(Atk.FocusHandler handler)
 {
     throw new System.NotImplementedException();
 }
예제 #6
0
 public virtual uint AddFocusHandler(Atk.FocusHandler handler)
 {
     return(componentExpert.AddFocusHandler(handler));
 }
		public FocusHandlerWrapper (Atk.FocusHandler managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new FocusHandlerNative (NativeCallback);
		}