1 %rename(Key) Dali::KeyEvent;
2 %rename(StateType) Dali::KeyEvent::State;
4 %csmethodmodifiers Dali::KeyEvent::keyPressedName "private";
5 %csmethodmodifiers Dali::KeyEvent::keyPressed "private";
6 %csmethodmodifiers Dali::KeyEvent::keyCode "private";
7 %csmethodmodifiers Dali::KeyEvent::keyModifier "private";
8 %csmethodmodifiers Dali::KeyEvent::time "private";
9 %csmethodmodifiers Dali::KeyEvent::state "private";
11 %csmethodmodifiers Dali::DevelKeyEvent::GetDeviceName "private";
12 %csmethodmodifiers Dali::DevelKeyEvent::SetDeviceName "private";
14 %typemap(cscode) Dali::KeyEvent %{
15 public static Key GetKeyFromPtr(global::System.IntPtr cPtr) {
16 Key ret = new Key(cPtr, false);
17 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
21 public string DeviceName
25 string ret = NDalicPINVOKE.GetDeviceName(swigCPtr);
26 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
31 public string KeyPressedName
35 return keyPressedName;
39 public string KeyPressed
55 public int KeyModifier
71 public Key.StateType State