yast2 |
modules/GPGWidgets.ycp |
UI widgets and functions related to GPG | |
|
|
This module has an unstable interface. |
This module provides UI related functions to GPG.
Imports
Global Functions
Local VariablesLocal Functions
|
Set selected private key in the private key table widget.
- Parameters:
-
keyid ID of the selected key
Set selected public key in the public key table widget.
- Parameters:
-
keyid ID of the selected key
Get list of table items for CWM widget.
- Parameters:
-
private_keys if true use private keys, otherwise use public keys
- Return value:
-
list of items
Init function of a widget - initialize the private table widget
- Parameters:
-
key string widget key
Init function of a widget - initialize the public table widget
- Parameters:
-
key string widget key
Store the selected private key
- Parameters:
-
key widget ID event event
Store the selected public key
- Parameters:
-
key widget ID event event
Return the selected private key in the private table widget
- Return value:
-
key ID
Get widget description map
- Return value:
-
widget description map
Get widget description map
- Return value:
-
widget description map
Refresh the widgets after creating a new gpg key
- Parameters:
-
key widget ID event event
Get widget description map
- Return value:
-
widget description map
Passphrase entered in the passphrase widget
Store the passphrase from the widget
- Parameters:
-
key widget ID event event
Get the enterd passphrase.
- Return value:
-
passphrase
Return definition of the passphrase CWM widget.
- Parameters:
-
key key ID displayed in the label
- Return value:
-
widget definition
Create a popup window term with the passphrase widget.
- Return value:
-
definition of the popup
Ask user to enter the passphrase for the selected gpg key. A a popup window is displayed.
- Parameters:
-
key key ID of the gpg key
- Return value:
-
the entered passphrase or nil if the popup has been closed by [Cancel] button
Return a map with CWM widgets definition. The map contains definitions of all static CWM widgets.
- Return value:
-
CWM widgets