Unknown YCP Module |
This module has an unstable interface. |
Imports
Global Functions
Local Functions |
File: modules/ValueBrowser.ycp
Package: YaST2 base package
Summary: Useful tool for viewing any variable contents.
Authors: Martin Vidner
Helper function that replaces all ocurences of "\n" with "\\n", so items are not multiline :-)
- Parameters:
-
s string to escape
- Return value:
-
escaped string
Shows tree with contents of variable. This function does the job. Heavy recursion...
- Parameters:
-
variable variable to show. indent string that is printed before each output.
Creates tree with contents of variable. This function creates the tree items and returns them as term. This offers using the generated output in your behavior, such as data-structure browser with editor. Heavy recursion...
- Parameters:
-
variable variable to show. indent string that is printed before each output.
Shows tree with contents of variable.
- Parameters:
-
variable variable to show.
- Example
-
map a = $[ "first" : 35, "second" : [ 1, 2, 3, 4, 5], "third" : $[ "a" : 15, `b: `VBox () ] ]; ValueBrowser::BrowseTree (a);
Write contents of variable to log file. This function does the job. Heavy recursion...
- Parameters:
-
variable variable to show. indent string that is printed before each output.
Write contents of variable to log file.
- Parameters:
-
variable variable to show.