Tizen Native API  5.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)
 Set the keygrab of the Elm_Win object.
Eina_Bool eext_win_keygrab_unset (Elm_Win *obj, const char *key)
 Unset the keygrab of the Elm_Win object.

Function Documentation

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

Set the keygrab of the Elm_Win object.

This API returns the sucessness of keygrab_set. Key callback is only called when the window located in topmost(top of the window stack).

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
Since :
2.4
Eina_Bool eext_win_keygrab_unset ( Elm_Win *  obj,
const char *  key 
)

Unset the keygrab of the Elm_Win object.

This API returns the sucessness of keygrab_unset.

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
Since :
2.4