Request to handle the softkey service.
Required Header
#include <tzsh_softkey.h>
Overview
The Tizen WS Shell Softkey API provides functions to handle the softkey service.
Related Features
This API is related with the following features:
It is recommended to design applications with regard to features, for reliability.
You can check if a device supports the related features for this API by using System Information, and control your application's actions accordingly.
To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.
More details on using features in your application can be found in the Feature Element.
Typedef Documentation
Handle for the Tizen softkey.
- Since :
- 5.5
Enumeration Type Documentation
Enumeration for expand state of softkey.
- Since :
- 5.5
- Enumerator:
TZSH_SOFTKEY_STATE_EXPAND_UNKNOWN |
Unknown state. There is no softkey service.
|
TZSH_SOFTKEY_STATE_EXPAND_ON |
The softkey window is expandable.
|
TZSH_SOFTKEY_STATE_EXPAND_OFF |
The softkey window is not expandable.
|
Enumeration for opacity state of softkey.
- Since :
- 5.5
- Enumerator:
TZSH_SOFTKEY_STATE_OPACITY_UNKNOWN |
Unknown state. There is no softkey service.
|
TZSH_SOFTKEY_STATE_OPACITY_OPAQUE |
The softkey window is opaque
|
TZSH_SOFTKEY_STATE_OPACITY_TRANSPARENT |
The softkey window is transparent
|
Enumeration for visible state of softkey.
- Since :
- 5.5
- Enumerator:
TZSH_SOFTKEY_STATE_VISIBLE_UNKNOWN |
Unknown state. There is no softkey service.
|
TZSH_SOFTKEY_STATE_VISIBLE_SHOW |
The softkey window is shown.
|
TZSH_SOFTKEY_STATE_VISIBLE_HIDE |
The softkey window is hidden.
|
Function Documentation
Gets the global expand state of softkey service window.
- Since :
- 5.5
- Parameters:
-
[in] | softkey | The tzsh_softkey_h object |
[out] | expand | The global expand state of the softkey service window |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()
Sets the global expand state of a softkey service window.
This function lets the application controls the softkey service window's global expand status. If expand is set to TZSH_SOFTKEY_STATE_EXPAND_OFF, then the softkey service window does not show the expand button. When the expand state is changed to TZSH_SOFTKEY_STATE_EXPAND_ON
, the softkey service window shows its expand button and can expand or minimize the softkey service window. This function affects all applications because it sets global expand state. The default expand state of the window is TZSH_SOFTKEY_STATE_EXPAND_ON.
- Since :
- 5.5
- Parameters:
-
[in] | softkey | The tzsh_softkey_h object |
[in] | expand | The global expand state of the softkey service window |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()
Hides the global softkey service window.
- Since :
- 5.5
- Parameters:
-
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()
Gets the global opacity state of a softkey service window.
- Since :
- 5.5
- Parameters:
-
[in] | softkey | The tzsh_softkey_h object |
[out] | opacity | The global opacity state of the softkey service window |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()
Sets the global opacity state of a softkey service window.
This function can control transparency of the softkey service window.
If opacity is set to TZSH_SOFTKEY_STATE_OPACITY_TRANSPARENT, the softkey service window becomes transparent like a 32-bit color window.
When the opacity state is changed to TZSH_SOFTKEY_STATE_OPACITY_OPAQUE, the softkey service window is shown as an opaque window.
This function affects all applications because it sets global opacity state.
The default opacity state of the window is TZSH_SOFTKEY_STATE_OPACITY_OPAQUE.
- Since :
- 5.5
- Parameters:
-
[in] | softkey | The tzsh_softkey_h object |
[in] | opacity | The global opacity state of the softkey service window |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()
Shows the global softkey service window.
- Since :
- 5.5
- Parameters:
-
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()
Gets the global visible state of a softkey service window.
- Since :
- 5.5
- Parameters:
-
[in] | softkey | The tzsh_softkey_h object |
[out] | visible | The global visible state of the softkey service window |
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- tzsh_create()