From: Kangho Hur Date: Thu, 16 Mar 2017 03:46:05 +0000 (-0700) Subject: Merge "Add feature for grabbing HW key events" into tizen X-Git-Tag: submit/trunk/20170823.075128~110^2~145 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fdd637ff5234fa79a975055bc95cd037f3671004;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Merge "Add feature for grabbing HW key events" into tizen --- fdd637ff5234fa79a975055bc95cd037f3671004 diff --cc src/ElmSharp/ElmSharp.csproj index 56d3785,c635261..eca6288 mode 100755,100644..100644 --- a/src/ElmSharp/ElmSharp.csproj +++ b/src/ElmSharp/ElmSharp.csproj diff --cc src/ElmSharp/ElmSharp/Window.cs index 74e331e,dc9f790..6c71fcf mode 100755,100644..100755 --- a/src/ElmSharp/ElmSharp/Window.cs +++ b/src/ElmSharp/ElmSharp/Window.cs @@@ -272,7 -195,16 +272,17 @@@ namespace ElmShar Interop.Elementary.elm_win_resize_object_add(Handle, obj); } + + public void KeyGrabEx(string keyname) + { + Interop.Elementary.eext_win_keygrab_set(RealHandle, keyname); + } + + public void KeyUngrabEx(string keyname) + { + Interop.Elementary.eext_win_keygrab_unset(RealHandle, keyname); + } + protected override IntPtr CreateHandle(EvasObject parent) { Interop.Elementary.elm_config_accel_preference_set("3d");