Tizen Native API  3.0
Efl Extension Hardware Keyevent

This group provides functionalities to grab hardware key events.

Since :
2.4

Functions

Eina_Bool eext_win_keygrab_set (Elm_Win *obj, const char *key)
 Sets the keygrab of the Elm_Win object.
Eina_Bool eext_win_keygrab_unset (Elm_Win *obj, const char *key)
 Unsets the keygrab of the Elm_Win object.

Function Documentation

Eina_Bool eext_win_keygrab_set ( Elm_Win *  obj,
const char *  key 
)

Sets the keygrab of the Elm_Win object.

This API returns the success of keygrab_set. Key callback is only called when the window is located at the top(top of the window stack).

Since :
2.4
Parameters:
[in]objObject to set the keygrab The widget type of this object should be elm_win
[in]keyKeyname string to set keygrab
Returns:
The result of keygrab set
Eina_Bool eext_win_keygrab_unset ( Elm_Win *  obj,
const char *  key 
)

Unsets the keygrab of the Elm_Win object.

This API returns the success of keygrab_unset.

Since :
2.4
Parameters:
[in]objObject to unset the keygrab The widget type of this object should be elm_win
[in]keyKeyname string to unset keygrab
Returns:
The result of keygrab unset