ACC SHELL

Path : /var/lib/ntp/proc/self/root/usr/share/doc/packages/yast2-sysconfig/autodocs/
File Upload :
Current File : //var/lib/ntp/proc/self/root/usr/share/doc/packages/yast2-sysconfig/autodocs/dialogs.html

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html>
 <head>
  <title>
Configuration of sysconfig</title>
  <style type="text/css">body { background-color: #c8c8c8 }
h1 { color: #e00000 }
table { width: 100%/ border: none }
img { border: 0px }
.sigbox { background-color: #ffc080; border: solid thin #f96500 }
.sig { font: larger monospace }
.padtbl { background-color: #ffc080; padding: 10px; margin: 10px }
/* arrow */
.a { color: #606060 }
/* type, parameter */
.t, .p { color: #c05000 }
.pbox { width: 20% }
.descbox { }
.right { align: right }
.header {}
.footer { clear: both}
.menu { width: 10%; float: left }
.main { width: 90%; float: left }
</style>
 </head>
 <body>
  <div class="header">
   <i>YaST2 Developers Documentation:</i>
   <a href="index.html">
    <b>
Configuration of sysconfig</b>
   </a>
   <img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
   <hr />
  </div>
  <div class="menu">
   <img alt="YaST" src="/usr/share/doc/packages/yast2-devtools/images/yast2-half.png" />
   <br />
   <br />
   <a href="index.html">functions</a>
   <br />
   <a href="files.html">files</a>
   <br />
   <a href="intro.html">intro</a>
  </div>
  <div class="main">
   <div class="sigbox">
    <table class="padtbl">
     <tr>
      <td>
       <h1>
Configuration of sysconfig</h1>
      </td>
      <td class="filecell">include/sysconfig/dialogs.ycp</td>
     </tr>
     <tr>
      <td>Dialogs definitions</td>
     </tr>
     <tr>
      <td>
       <ul>
        <li>Ladislav Slezak <lslezak@suse.cz></li>
       </ul>
      </td>
     </tr>
     <tr>
      <td>
       <p>This module has an unstable interface.</p>
      </td>
     </tr>
    </table>
    <table class="padtbl">
     <tr>
      <td>

       <h1>Imports</h1>
       <ul>
        <li>Label</li>
        <li>Popup</li>
        <li>Sysconfig</li>
       </ul>
       <h1>Includes</h1>
       <ul>
        <li>sysconfig/helps.ycp</li>
        <li>sysconfig/routines.ycp</li>
       </ul>
       <h1>Local Functions</h1>
       <ul>
        <li>
         <a href="#add_new_variable">add_new_variable ()</a>
        </li>
        <li>
         <a href="#display_search_dialog">display_search_dialog ()</a>
        </li>
        <li>
         <a href="#display_variables_dialog">display_variables_dialog (string header, string label, list table_content, string ok_label, string cancel_label, string checkboxlabel, boolean checkboxvalue)</a>
        </li>
       </ul>
      </td>
     </tr>
    </table>
   </div>
   <p />
   <div class="sigbox">
    <span class="sig" id="display_search_dialog">local
     <b>display_search_dialog ()
      <span class="a"> -&gt; </span>
      <span class="t">map</span>
     </b>
    </span>
   </div>
   <p>
 Display search dialog</p>
   <dl>
    <dt>
     <b>Return value:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="t" />
       </td>
       <td class="descbox">Search option values selected in the dialog</td>
      </tr>
     </table>
    </dd>
   </dl>
   <div class="sigbox">
    <span class="sig" id="display_variables_dialog">local
     <b>display_variables_dialog (string header, string label, list table_content, string ok_label, string cancel_label, string checkboxlabel, boolean checkboxvalue)
      <span class="a"> -&gt; </span>
      <span class="t">map&lt;string, any&gt;</span>
     </b>
    </span>
   </div>
   <p>
 Display dialog with selected variables</p>
   <dl>
    <dt>
     <b>Parameters:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="p">header</span>
       </td>
       <td class="descbox">Heading in the dialog</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">label</span>
       </td>
       <td class="descbox">Label in the dialog</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">table_content</span>
       </td>
       <td class="descbox">Table content list</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">ok_label</span>
       </td>
       <td class="descbox">OK button label</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">cancel_label</span>
       </td>
       <td class="descbox">Cancel button label</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">checkboxlabel</span>
       </td>
       <td class="descbox">Optional check box widget is displayed when size of checkboxlabel is greater than zero</td>
      </tr>
      <tr>
       <td class="pbox">
        <span class="p">checkboxvalue</span>
       </td>
       <td class="descbox">Check box value</td>
      </tr>
     </table>
    </dd>
   </dl>
   <dl>
    <dt>
     <b>Return value:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="t" />
       </td>
       <td class="descbox">Selected variable, checkbox value (nil if it wasn't used), user input values</td>
      </tr>
     </table>
    </dd>
   </dl>
   <div class="sigbox">
    <span class="sig" id="add_new_variable">local
     <b>add_new_variable ()
      <span class="a"> -&gt; </span>
      <span class="t">map</span>
     </b>
    </span>
   </div>
   <p>
 Display dialog for new variable. This dialog is used at autoinstalation config mode
 only - some packages may not be available at configure time, but they will be present
 at installation, so it is possible to change them even if they are not displayed.</p>
   <dl>
    <dt>
     <b>Return value:</b>
    </dt>
    <dd>
     <table>
      <tr>
       <td class="pbox">
        <span class="t" />
       </td>
       <td class="descbox">Map with keys "ui" (`ok or `cancel - user input), "name" (name of
 the new variable), "file" (location of variable) and "value" (value to write)</td>
      </tr>
     </table>
    </dd>
   </dl>
  </div>
  <div class="footer">
   <hr />
   <i>YaST2 Developers Documentation</i>
   <img class="right" alt="" src="/usr/share/doc/packages/yast2-devtools/images/yast2-mini.png" />
  </div>
 </body>
</html>

ACC SHELL 2018