WifiDialog.for_secrets


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public WifiDialog.for_secrets (Client client, Connection connection, string secrets_setting_name, string secrets_hints)

Creates a wifi secrets dialog and populates it with setting values from connection.

If secrets_setting_name and secrets_hints are not given this function creates an identical dialog as WifiDialog would create with the secrets_only parameter true. Otherwise secrets_setting_name and secrets_hints determine the list of specific secrets that are being requested from the user and no editable entries are shown for any other settings.

Note: only a subset of all settings and setting keys is supported as secrets_setting_name and secrets_hints.

Parameters:

client

client to retrieve list of devices or connections from

connection

connection for which secrets are requested

secrets_setting_name

setting name whose secrets are requested or null

secrets_hints

array of setting key names within the setting given in secrets_setting_name which are requested or null

Returns:

the dialog widget or null in case of error