YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Arch
  • CWM
  • FileUtils
  • GPG
  • GPGWidgets
  • Label
  • Package
  • PackagesUI
  • Popup
  • ProductCreator
  • Report
  • SourceManager
  • String
  • Summary
  • URL
  • URL
  • Wizard

Includes

  • product-creator/helps.ycp
  • product-creator/routines.ycp

Local Functions

Info:

File: include/product-creator/dialogs.ycp Package: Configuration of product-creator Summary: Dialogs definitions Authors: Anas Nashif

local createTableItem (integer source, boolean selectable, string media_filter) -> term

Create a table item from a map as returned by the InstSrcManager agent.

Parameters:
source The map describing the source as returned form the agent.
selectable
media_filter
Return value:
An item suitable for addition to a Table.
local fillSourceTable (list<integer> sources, boolean selectable, string media_filter) -> list<term>

Fill sources table with entries from the InstSrcManager agent.

Parameters:
sources
selectable
media_filter
Return value:
list of items
local InstallPackageOrProviderVersion (string p, string version) -> boolean

Select package for installation. If package itself is not available, find package providing it If version is not empty, select specific package version

Parameters:
p
version
local Configure1Dialog () -> symbol

General configuration dialog

Return value:
dialog result
local Configure2Dialog () -> symbol

Configure2 dialog

Return value:
dialog result
local sourceDialog () -> symbol

Dialog for selecting the sources

local isolinuxDialog () -> symbol

Configure3 dialog

Return value:
dialog result
local detailedSelection (symbol mode) -> symbol

Start the detailed package selection. If 'mode' is non-nil, it will be passed as an option to the PackageSelector widget.

Parameters:
mode
local patternSelection () -> symbol

Start the pattern selection dialog. If the UI does not support the PatternSelector, start the detailed selection with "selections" as the initial view.

local runPackageSelectorVersions (string base_pattern, list<string> patterns, list<string> packages, map<string,string> versions, list<string> taboo, symbol mode) -> map<string,any>

Display package selection dialog with preselected packages. See runPackageSelector

Parameters:
base_pattern
patterns
packages
versions map of specific package versions that need to be selected
taboo
mode
local runPackageSelector (string base_pattern, list<string> patterns, list<string> packages, list<string> taboo, symbol mode) -> map<string,any>

Display package selection dialog with preselected packages.

Parameters:
base_pattern base pattern to install, can be empty ("") if there is no base pattern
patterns list of patterns to install
packages list of packages to install
taboo list of packages marked as taboo
mode UI mode selection, use `packages for detailed package selection or `patterns for pattern selection.
local packageSelector () -> symbol

Select packages

local ConfigSummary () -> symbol

Configuration Summary