Exemple #1
0
        ///<summary>Method to raise event SizeChangedEvt.</summary>
        public void On_SizeChangedEvt(Efl.Gfx.EntitySizeChangedEvt_Args e)
        {
            EventHandler <Efl.Gfx.EntitySizeChangedEvt_Args> evt;

            lock (eventLock) {
                evt = (EventHandler <Efl.Gfx.EntitySizeChangedEvt_Args>)eventHandlers[SizeChangedEvtKey];
            }
            evt?.Invoke(this, e);
        }
Exemple #2
0
 private void on_SizeChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event_StructInternal evt)
 {
     Efl.Gfx.EntitySizeChangedEvt_Args args = new Efl.Gfx.EntitySizeChangedEvt_Args();
     args.arg = evt.Info;;
     try {
         On_SizeChangedEvt(args);
     } catch (Exception e) {
         Eina.Log.Error(e.ToString());
         Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
     }
 }