YaST2 Developers Documentation: Unknown YCP Module



functions
files
intro

Unknown YCP Module

inst_source.ycp

Imports

  • Label
  • URL

Local Functions

local dialogButtons () -> term

Return an HBox with ok and cancel buttons for use by other dialogs.

Return value:
An HBox term for use in a CreateDialog call.

local editAuthentification () -> void

Open a dialog for editing of authentification information (basically a username and a password.

local editFtp () -> void

Open a dialog for editing of FTP server information.

local getNfsUrl (string host, string urlpath) -> string

Get a nfs url.

Parameters:
host
urlpath

local getCdUrl () -> string

Get url for a cd or dvd.

local getServerUrl (symbol type, string host, string urlpath, string user, string pass, boolean allowHttps) -> string

Get a URL for a ftp, http, https or samba server, optionally inclduing user/password information.

Parameters:
type
host
urlpath
user
pass
allowHttps

local getDirectoryUrl (string default) -> string

Let the user put in a directory url.

Parameters:
default initial default
Return value:
directory url on success, empty string when the user canceled the dialog.

YaST2 Developers Documentation