5 public delegate IntPtr SwigDelegateKeyboardPreFocusChangeSignal(IntPtr current, IntPtr proposed, View.KeyboardFocus.Direction direction);
7 public class KeyboardPreFocusChangeSignal : global::System.IDisposable {
8 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
9 protected bool swigCMemOwn;
11 internal KeyboardPreFocusChangeSignal(global::System.IntPtr cPtr, bool cMemoryOwn) {
12 swigCMemOwn = cMemoryOwn;
13 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
16 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KeyboardPreFocusChangeSignal obj) {
17 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
20 ~KeyboardPreFocusChangeSignal() {
24 public virtual void Dispose() {
26 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
29 NDalicManualPINVOKE.delete_KeyboardPreFocusChangeSignal(swigCPtr);
31 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
33 global::System.GC.SuppressFinalize(this);
38 bool ret = NDalicManualPINVOKE.KeyboardPreFocusChangeSignal_Empty(swigCPtr);
39 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
43 public uint GetConnectionCount() {
44 uint ret = NDalicManualPINVOKE.KeyboardPreFocusChangeSignal_GetConnectionCount(swigCPtr);
45 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
49 public void Connect(KeyboardFocusManager.PreFocusChangeEventCallbackDelegate func) {
50 NDalicManualPINVOKE.KeyboardPreFocusChangeSignal_Connect(swigCPtr, func);
51 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
54 public void Disconnect(System.Delegate func) {
55 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func);
57 NDalicManualPINVOKE.KeyboardPreFocusChangeSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip));
58 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
62 public Actor Emit(Actor arg1, Actor arg2, View.KeyboardFocus.Direction arg3) {
63 Actor ret = new Actor(NDalicManualPINVOKE.KeyboardPreFocusChangeSignal_Emit(swigCPtr, Actor.getCPtr(arg1), Actor.getCPtr(arg2), (int)arg3), true);
64 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
68 public KeyboardPreFocusChangeSignal() : this(NDalicManualPINVOKE.new_KeyboardPreFocusChangeSignal(), true) {
69 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();