Exemplo n.º 1
0
        ///<summary>Method to raise event Child_focusChangedEvt.</summary>
        public void On_Child_focusChangedEvt(Efl.Ui.Focus.ObjectChild_focusChangedEvt_Args e)
        {
            EventHandler <Efl.Ui.Focus.ObjectChild_focusChangedEvt_Args> evt;

            lock (eventLock) {
                evt = (EventHandler <Efl.Ui.Focus.ObjectChild_focusChangedEvt_Args>)eventHandlers[Child_focusChangedEvtKey];
            }
            evt?.Invoke(this, e);
        }
Exemplo n.º 2
0
 private void on_Child_focusChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
 {
     Efl.Ui.Focus.ObjectChild_focusChangedEvt_Args args = new Efl.Ui.Focus.ObjectChild_focusChangedEvt_Args();
     args.arg = evt.Info != IntPtr.Zero;
     try {
         On_Child_focusChangedEvt(args);
     } catch (Exception e) {
         Eina.Log.Error(e.ToString());
         Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
     }
 }