YaST2 Developers Documentation: Restore module

Restore module

include/restore/summary_dialog.ycp
Display summary dialog.

This module has an unstable interface.

Display summary dialog in wizard with optional details. Summary can be saved to file.

Imports

  • Label
  • Popup
  • Wizard

Local Functions

local RemoveTags (string input) -> string

This function removes HTML tags from input string

Parameters:
input Input string
Return value:
String without tags
local DisplaySummaryDialog (string text, string detail_text, string helptext, string label, symbol button) -> symbol

Display summary dialog with optional details, it is possible to save dialog contents to file

Parameters:
text Summary text
detail_text Detailed summary text
helptext Help text for wizard
label Text in label
button Label for `next button, possible values are `next (label is "Next"), `ok ("Ok") or `finish ("Finish")
Return value:
Id of pressed button (`next, `back, `abort)