YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • HTML
  • Label
  • Popup
  • ProductControl
  • ProductFeatures
  • String
  • Wizard

Global Functions

Local Functions

Info:

Module: PackagesUI.ycp

Authors: Gabriele Strattner (gs@suse.de) Ladislav Slezák

Purpose: Provides common dialogs related to the package management.

global ConfirmLicenses () -> boolean

Display unconfirmed licenses of the selected packages.

Return value:
true when all licenses were accepted (or there was no license to confirm)
local ReadSupportStatus () -> boolean

Run helper function, reads the display_support_status feature from the control file

Return value:
the read value
global RunPackageSelector (map<string,any> options) -> symbol

Start the detailed package selection.

Parameters:
options options passed to the widget. All options are optional, if an option is missing or is nil the default value will be used. All options: $[ "enable_repo_mgr" : boolean // display the repository management menu, // default: false (disabled) "display_support_status" : boolean // display the support status summary dialog, // default: depends on the Product Feature "software", "display_support_status" "mode" : symbol // package selector mode, no default value, supported values: `youMode (online update mode), `updateMode (update mode), `searchMode (search filter view), `summaryMode (installation summary filter view), `repoMode (repositories filter view ]
Return value:
Returns `accept or `cancel .
global RunPatternSelector () -> symbol

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

Return value:
Return `accept or `cancel