Unknown YCP Module |
SourceDialogs.ycp |
|
|
This module has an unstable interface. |
URL to work with
The repo at _url is plaindir
Repo name to work with
Allow HTTPS for next repository dialog?
Help text suffix for some types of the media
Help text suffix for some types of the media
Set the URL to work with
- Parameters:
-
url string URL to run the dialogs with
Set the URL to work with, set the plaindir flag (type of the repository)
- Parameters:
-
url string URL to run the dialogs with plaindir_type true if the repo type is plaindir
Return URL after the run of the dialog
- Return value:
-
the URL
Return the configured URL in the dialog, do not do any conversion (return the internal value)
- Return value:
-
raw internal URL
Set the RepoName to work with
- Parameters:
-
repo_name string RepoName to run the dialogs with
Return RepoName after the run of the dialog
- Return value:
-
the RepoName
Postprocess URL of an ISO image
- Parameters:
-
url string URL in the original form
- Return value:
-
postprocessed URL
Check if URL is an ISO URL
- Parameters:
-
url string URL to check
- Return value:
-
true if URL is an ISO URL, false otherwise
Preprocess the ISO URL to be used in the dialogs
- Parameters:
-
url string URL to preprocess
- Return value:
-
preprocessed URL
check if given path points to ISO file
- Parameters:
-
url string URL to check
- Return value:
-
true if URL is ISO image
Add a slash to the part of url, if it is not already present
- Parameters:
-
urlpart string a part of the URL
- Return value:
-
urlpart with leading slash
Remove leading and trailing (and inner) spaces from the host name
- Parameters:
-
host string original host name
- Return value:
-
host without leading and trailing spaces
Return an HBox with ok and cancel buttons for use by other dialogs.
- Return value:
-
An HBox term for use in a CreateDialog call.
Get scheme of a URL, also for ISO URL get scheme of the access protocol
- Parameters:
-
url string URL to get scheme for
- Return value:
-
URL scheme
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Get widget description map
- Return value:
-
widget description map
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Get widget description map
- Return value:
-
widget description map
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Handle function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
- Return value:
-
always nil
Get widget description map
- Return value:
-
widget description map
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Get widget description map
- Return value:
-
widget description map
Init function of a widget
- Parameters:
-
key string widget key
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Handle function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
- Return value:
-
always nil
Handle function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
- Return value:
-
always nil
Get widget description map
- Return value:
-
widget description map
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Get widget description map
- Return value:
-
widget description map
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Get widget description map
- Return value:
-
widget description map
Get widget description map
- Return value:
-
widget description map
Handle function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
- Return value:
-
always nil
Init function of a widget
- Parameters:
-
key string widget key
Store function of a widget
- Parameters:
-
key string widget key event map which caused settings being stored
Get widget description map
- Return value:
-
widget description map
Checks whether some network is available in the current moment, see the bug #170147 for more information.
Returns whether Community Repositories are defined in the control file.
- Return value:
-
whether defined
Individual widgets
Get individual widgets
- Return value:
-
individual widgets
Captions for individual protocols
Get contents of a popup for specified protocol
- Parameters:
-
proto string protocol to display popup for repository
- Return value:
-
popup contents
URL editation popup
- Parameters:
-
url string url URL to edit
- Return value:
-
modified URL or empty string if canceled
URL editation popup
- Parameters:
-
url string url URL to edit
- Return value:
-
modified URL or empty string if canceled
URL editation popup, allows setting plaindir type
- Parameters:
-
url string url URL to edit plaindir_type set to true if the repository is plaindor
- Return value:
-
modified URL or empty string if canceled
URL editation popup without the HTTPS option
- Parameters:
-
url string url URL to edit
- Return value:
-
modified URL or empty string if canceled
Sample implementation of URL selection dialog
- Parameters:
-
proto
- Return value:
-
for wizard sequencer
Sample implementation of URL selection dialog
- Parameters:
-
proto
- Return value:
-
for wizard sequencer
Sample implementation of URL selection dialog
- Return value:
-
for wizard sequencer
URL editation popup with the HTTPS option
- Return value:
-
modified URL or empty string if canceled
Sample implementation of URL type selection dialog
- Return value:
-
for wizard sequencer
Sample implementation of URL type selection dialog
- Return value:
-
for wizard sequencer