38f3e28d77
Use the output of git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1 from anaconda's git repository and fix-up merge conflicts.
1432 lines
90 KiB
HTML
Executable File
1432 lines
90 KiB
HTML
Executable File
|
|
|
|
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>pyanaconda.ui package — Anaconda 23.15 documentation</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="top" title="Anaconda 23.15 documentation" href="index.html"/>
|
|
<link rel="up" title="pyanaconda package" href="pyanaconda.html"/>
|
|
<link rel="next" title="pyanaconda.ui.categories package" href="pyanaconda.ui.categories.html"/>
|
|
<link rel="prev" title="pyanaconda.packaging package" href="pyanaconda.packaging.html"/>
|
|
|
|
|
|
<script src="_static/js/modernizr.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
|
|
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
<div class="wy-side-nav-search">
|
|
|
|
|
|
|
|
<a href="index.html" class="icon icon-home"> Anaconda
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
<div role="search">
|
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
|
|
|
|
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction to Anaconda</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="boot-options.html">Anaconda Boot Options</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#installation-source">Installation Source</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-repo">inst.repo</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-stage2">inst.stage2</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-dd">inst.dd</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-multilib">inst.multilib</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#kickstart">Kickstart</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-ks">inst.ks</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-ks-sendmac">inst.ks.sendmac</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-ks-sendsn">inst.ks.sendsn</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#network-options">Network Options</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ip">ip</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#nameserver">nameserver</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#bootdev">bootdev</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ifname">ifname</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-dhcpclass">inst.dhcpclass</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#console-display-options">Console / Display Options</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#console">console</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-lang">inst.lang</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-geoloc">inst.geoloc</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-keymap">inst.keymap</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-cmdline">inst.cmdline</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-graphical">inst.graphical</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-text">inst.text</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-resolution">inst.resolution</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-vnc">inst.vnc</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-vncpassword">inst.vncpassword</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-vncconnect">inst.vncconnect</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-headless">inst.headless</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-xdriver">inst.xdriver</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-usefbx">inst.usefbx</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-sshd">inst.sshd</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#debugging-and-troubleshooting">Debugging and Troubleshooting</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-rescue">inst.rescue</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-updates">inst.updates</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-loglevel">inst.loglevel</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-syslog">inst.syslog</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-virtiolog">inst.virtiolog</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-zram">inst.zram</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#deprecated-options">Deprecated Options</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#method">method</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#repo-nfsiso">repo=nfsiso:...</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#dns">dns</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#netmask-gateway-hostname">netmask, gateway, hostname</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ip-bootif">ip=bootif</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ksdevice">ksdevice</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#blacklist-nofirewire">blacklist, nofirewire</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="boot-options.html#removed-options">Removed Options</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#askmethod-asknetwork">askmethod, asknetwork</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#id5">serial</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#updates">updates</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#essid-wepkey-wpakey">essid, wepkey, wpakey</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ethtool">ethtool</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#gdb">gdb</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#inst-mediacheck">inst.mediacheck</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#ks-floppy">ks=floppy</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#display">display</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#utf8">utf8</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#noipv6">noipv6</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="boot-options.html#upgradeany">upgradeany</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="kickstart.html">Anaconda Kickstart Documentation</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="kickstart.html#pwpolicy">pwpolicy</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="commit-log.html">Rules for commit messages</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="driverdisc.html">Brief description of DriverDisc version 3</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#devices-which-can-contain-dds">Devices which can contain DDs</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#what-can-be-updated-using-dds">What can be updated using DDs?</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#selecting-dd-manually">Selecting DD manually</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#automatic-driverdisc-detection">Automatic DriverDisc detection</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#ddv3-structure">DDv3 structure</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#initrd-overlay-driverdisc-image">Initrd overlay driverdisc image</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#firmware-and-module-update">Firmware and module update</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#package-installation">Package installation</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="driverdisc.html#summary">Summary</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="iscsi.html">iSCSI and Anaconda</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#introduction">Introduction</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#what-is-expected-from-anaconda">What is expected from Anaconda</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#how-anaconda-handles-iscsi">How Anaconda handles iscsi</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#libiscsi">Libiscsi</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#debugging-iscsi-bugs">Debugging iSCSI bugs</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="iscsi.html#future-of-iscsi-in-anaconda">Future of iSCSI in Anaconda</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="multipath.html">Multipath and Anaconda</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="multipath.html#introduction">Introduction</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="multipath.html#what-is-expected-from-anaconda">What is expected from Anaconda</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="multipath.html#how-anaconda-handles-multipath">How Anaconda handles multipath</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="multipath.html#debugging-multipath-bugs">Debugging multipath bugs</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="multipath.html#future-of-multipath-in-anaconda">Future of multipath in Anaconda</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">pyanaconda</a><ul class="current">
|
|
<li class="toctree-l2 current"><a class="reference internal" href="pyanaconda.html">pyanaconda package</a><ul class="current">
|
|
<li class="toctree-l3 current"><a class="reference internal" href="pyanaconda.html#subpackages">Subpackages</a><ul class="current">
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.installclasses.html">pyanaconda.installclasses package</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.isys.html">pyanaconda.isys package</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.packaging.html">pyanaconda.packaging package</a></li>
|
|
<li class="toctree-l4 current"><a class="current reference internal" href="">pyanaconda.ui package</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.addons">pyanaconda.addons module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda">pyanaconda.anaconda module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda_argparse">pyanaconda.anaconda_argparse module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.anaconda_log">pyanaconda.anaconda_log module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.bootloader">pyanaconda.bootloader module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.constants">pyanaconda.constants module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.constants_text">pyanaconda.constants_text module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.desktop">pyanaconda.desktop module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.errors">pyanaconda.errors module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.exception">pyanaconda.exception module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.flags">pyanaconda.flags module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.geoloc">pyanaconda.geoloc module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.i18n">pyanaconda.i18n module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.ihelp">pyanaconda.ihelp module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.image">pyanaconda.image module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.install">pyanaconda.install module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.installclass">pyanaconda.installclass module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.installinterfacebase">pyanaconda.installinterfacebase module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.iutil">pyanaconda.iutil module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.kexec">pyanaconda.kexec module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.keyboard">pyanaconda.keyboard module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.kickstart">pyanaconda.kickstart module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.localization">pyanaconda.localization module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.network">pyanaconda.network module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.nm">pyanaconda.nm module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.ntp">pyanaconda.ntp module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.orderedset">pyanaconda.orderedset module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.product">pyanaconda.product module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.progress">pyanaconda.progress module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.pwpolicy">pyanaconda.pwpolicy module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.queuefactory">pyanaconda.queuefactory module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.regexes">pyanaconda.regexes module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.rescue">pyanaconda.rescue module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.safe_dbus">pyanaconda.safe_dbus module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.screensaver">pyanaconda.screensaver module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.simpleconfig">pyanaconda.simpleconfig module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.startup_utils">pyanaconda.startup_utils module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.storage_utils">pyanaconda.storage_utils module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.text">pyanaconda.text module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.threads">pyanaconda.threads module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.timezone">pyanaconda.timezone module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.users">pyanaconda.users module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.version">pyanaconda.version module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda.vnc">pyanaconda.vnc module</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.html#module-pyanaconda">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
|
|
|
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="index.html">Anaconda</a>
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content">
|
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href="index.html">Docs</a> »</li>
|
|
|
|
<li><a href="modules.html">pyanaconda</a> »</li>
|
|
|
|
<li><a href="pyanaconda.html">pyanaconda package</a> »</li>
|
|
|
|
<li>pyanaconda.ui package</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
<a href="_sources/pyanaconda.ui.txt" rel="nofollow"> View page source</a>
|
|
|
|
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document">
|
|
|
|
<div class="section" id="pyanaconda-ui-package">
|
|
<h1>pyanaconda.ui package<a class="headerlink" href="#pyanaconda-ui-package" title="Permalink to this headline">¶</a></h1>
|
|
<div class="section" id="subpackages">
|
|
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
|
|
<div class="toctree-wrapper compound">
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.categories.html">pyanaconda.ui.categories package</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#module-pyanaconda.ui.categories.customization">pyanaconda.ui.categories.customization module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#module-pyanaconda.ui.categories.localization">pyanaconda.ui.categories.localization module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#module-pyanaconda.ui.categories.software">pyanaconda.ui.categories.software module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#module-pyanaconda.ui.categories.system">pyanaconda.ui.categories.system module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#module-pyanaconda.ui.categories.user_settings">pyanaconda.ui.categories.user_settings module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.categories.html#module-pyanaconda.ui.categories">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.gui.html">pyanaconda.ui.gui package</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.html#subpackages">Subpackages</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html">pyanaconda.ui.gui.hubs package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html#module-pyanaconda.ui.gui.hubs.progress">pyanaconda.ui.gui.hubs.progress module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html#module-pyanaconda.ui.gui.hubs.summary">pyanaconda.ui.gui.hubs.summary module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html#module-pyanaconda.ui.gui.hubs">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html">pyanaconda.ui.gui.spokes package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#subpackages">Subpackages</a><ul>
|
|
<li class="toctree-l5"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html">pyanaconda.ui.gui.spokes.advstorage package</a><ul>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#module-pyanaconda.ui.gui.spokes.advstorage.dasd">pyanaconda.ui.gui.spokes.advstorage.dasd module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#module-pyanaconda.ui.gui.spokes.advstorage.fcoe">pyanaconda.ui.gui.spokes.advstorage.fcoe module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#module-pyanaconda.ui.gui.spokes.advstorage.iscsi">pyanaconda.ui.gui.spokes.advstorage.iscsi module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#module-pyanaconda.ui.gui.spokes.advstorage.zfcp">pyanaconda.ui.gui.spokes.advstorage.zfcp module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#module-pyanaconda.ui.gui.spokes.advstorage">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l5"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html">pyanaconda.ui.gui.spokes.lib package</a><ul>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.accordion">pyanaconda.ui.gui.spokes.lib.accordion module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.cart">pyanaconda.ui.gui.spokes.lib.cart module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.custom_storage_helpers">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.dasdfmt">pyanaconda.ui.gui.spokes.lib.dasdfmt module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.detailederror">pyanaconda.ui.gui.spokes.lib.detailederror module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.entropy_dialog">pyanaconda.ui.gui.spokes.lib.entropy_dialog module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.lang_locale_handler">pyanaconda.ui.gui.spokes.lib.lang_locale_handler module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.passphrase">pyanaconda.ui.gui.spokes.lib.passphrase module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.refresh">pyanaconda.ui.gui.spokes.lib.refresh module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.resize">pyanaconda.ui.gui.spokes.lib.resize module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib.summary">pyanaconda.ui.gui.spokes.lib.summary module</a></li>
|
|
<li class="toctree-l6"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#module-pyanaconda.ui.gui.spokes.lib">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.custom">pyanaconda.ui.gui.spokes.custom module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.datetime_spoke">pyanaconda.ui.gui.spokes.datetime_spoke module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.filter">pyanaconda.ui.gui.spokes.filter module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.keyboard">pyanaconda.ui.gui.spokes.keyboard module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.langsupport">pyanaconda.ui.gui.spokes.langsupport module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.network">pyanaconda.ui.gui.spokes.network module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.password">pyanaconda.ui.gui.spokes.password module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.software">pyanaconda.ui.gui.spokes.software module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.source">pyanaconda.ui.gui.spokes.source module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.storage">pyanaconda.ui.gui.spokes.storage module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.user">pyanaconda.ui.gui.spokes.user module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes.welcome">pyanaconda.ui.gui.spokes.welcome module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.html#module-pyanaconda.ui.gui.helpers">pyanaconda.ui.gui.helpers module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.html#module-pyanaconda.ui.gui.utils">pyanaconda.ui.gui.utils module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.html#module-pyanaconda.ui.gui.xkl_wrapper">pyanaconda.ui.gui.xkl_wrapper module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.html#module-pyanaconda.ui.gui">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.lib.html">pyanaconda.ui.lib package</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.lib.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.lib.html#module-pyanaconda.ui.lib.disks">pyanaconda.ui.lib.disks module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.lib.html#module-pyanaconda.ui.lib.entropy">pyanaconda.ui.lib.entropy module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.lib.html#module-pyanaconda.ui.lib.space">pyanaconda.ui.lib.space module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.lib.html#module-pyanaconda.ui.lib">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.tui.html">pyanaconda.ui.tui package</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.html#subpackages">Subpackages</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html">pyanaconda.ui.tui.hubs package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html#module-pyanaconda.ui.tui.hubs.summary">pyanaconda.ui.tui.hubs.summary module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.hubs.html#module-pyanaconda.ui.tui.hubs">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html">pyanaconda.ui.tui.simpleline package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#module-pyanaconda.ui.tui.simpleline.base">pyanaconda.ui.tui.simpleline.base module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#module-pyanaconda.ui.tui.simpleline.widgets">pyanaconda.ui.tui.simpleline.widgets module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.simpleline.html#module-pyanaconda.ui.tui.simpleline">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html">pyanaconda.ui.tui.spokes package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.askvnc">pyanaconda.ui.tui.spokes.askvnc module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.langsupport">pyanaconda.ui.tui.spokes.langsupport module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.network">pyanaconda.ui.tui.spokes.network module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.password">pyanaconda.ui.tui.spokes.password module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.progress">pyanaconda.ui.tui.spokes.progress module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.shell_spoke">pyanaconda.ui.tui.spokes.shell_spoke module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.software">pyanaconda.ui.tui.spokes.software module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.source">pyanaconda.ui.tui.spokes.source module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.storage">pyanaconda.ui.tui.spokes.storage module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.time_spoke">pyanaconda.ui.tui.spokes.time_spoke module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.user">pyanaconda.ui.tui.spokes.user module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes.warnings_spoke">pyanaconda.ui.tui.spokes.warnings_spoke module</a></li>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.tui.spokes.html#module-pyanaconda.ui.tui.spokes">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.html#module-pyanaconda.ui.tui.tuiobject">pyanaconda.ui.tui.tuiobject module</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.tui.html#module-pyanaconda.ui.tui">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="submodules">
|
|
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.common">
|
|
<span id="pyanaconda-ui-common-module"></span><h2>pyanaconda.ui.common module<a class="headerlink" href="#module-pyanaconda.ui.common" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.FirstbootOnlySpokeMixIn">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">FirstbootOnlySpokeMixIn</tt><a class="headerlink" href="#pyanaconda.ui.common.FirstbootOnlySpokeMixIn" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>This MixIn class marks Spokes as usable for Firstboot.</p>
|
|
<dl class="classmethod">
|
|
<dt id="pyanaconda.ui.common.FirstbootOnlySpokeMixIn.should_run">
|
|
<em class="property">classmethod </em><tt class="descname">should_run</tt><big>(</big><em>environment</em>, <em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.FirstbootOnlySpokeMixIn.should_run" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>This method is responsible for beginning Spoke initialization
|
|
in the firstboot environment (even before __init__).</p>
|
|
<p>It should return True if the spoke is to be shown and False
|
|
if it should be skipped.</p>
|
|
<p>It might be called multiple times, with or without (None)
|
|
the data argument.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.FirstbootSpokeMixIn">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">FirstbootSpokeMixIn</tt><a class="headerlink" href="#pyanaconda.ui.common.FirstbootSpokeMixIn" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>This MixIn class marks Spokes as usable for Firstboot
|
|
and Anaconda.</p>
|
|
<dl class="classmethod">
|
|
<dt id="pyanaconda.ui.common.FirstbootSpokeMixIn.should_run">
|
|
<em class="property">classmethod </em><tt class="descname">should_run</tt><big>(</big><em>environment</em>, <em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.FirstbootSpokeMixIn.should_run" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>This method is responsible for beginning Spoke initialization
|
|
in the firstboot environment (even before __init__).</p>
|
|
<p>It should return True if the spoke is to be shown
|
|
and False if it should be skipped.</p>
|
|
<p>It might be called multiple times, with or without (None)
|
|
the data argument.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.Hub">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">Hub</tt><big>(</big><em>storage</em>, <em>payload</em>, <em>instclass</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Hub" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>A Hub is an overview UI screen. A Hub consists of one or more grids of
|
|
configuration options that the user may choose from. Each grid is
|
|
provided by a SpokeCategory, and each option is provided by a Spoke.
|
|
When the user dives down into a Spoke and is finished interacting with
|
|
it, they are returned to the Hub.</p>
|
|
<p>Some Spokes are required. The user must interact with all required
|
|
Spokes before they are allowed to proceed to the next stage of
|
|
installation.</p>
|
|
<p>From a layout perspective, a Hub is the entirety of the screen, though
|
|
the screen itself can be roughly divided into thirds. The top third is
|
|
some basic navigation information (where you are, what you’re
|
|
installing). The middle third is the grid of Spokes. The bottom third
|
|
is an action area providing additional buttons (quit, continue) or
|
|
progress information (during package installation).</p>
|
|
<p>Installation may consist of multiple chained Hubs, or Hubs with
|
|
additional standalone screens either before or after them.</p>
|
|
<p>Create a new Hub instance.</p>
|
|
<p>The arguments this base class accepts defines the API that Hubs
|
|
have to work with. A Hub does not get free reign over everything
|
|
in the anaconda class, as that would be a big mess. Instead, a
|
|
Hub may count on the following:</p>
|
|
<dl class="docutils">
|
|
<dt>data – An instance of a pykickstart Handler object. The</dt>
|
|
<dd>Hub uses this to populate its UI with defaults
|
|
and to pass results back after it has run. The data
|
|
property must be implemented by classes inheriting
|
|
from Hub.</dd>
|
|
<dt>storage – An instance of storage.Storage. This is useful for</dt>
|
|
<dd>determining what storage devices are present and how
|
|
they are configured.</dd>
|
|
<dt>payload – An instance of a packaging.Payload subclass. This</dt>
|
|
<dd>is useful for displaying and selecting packages to
|
|
install, and in carrying out the actual installation.</dd>
|
|
<dt>instclass – An instance of a BaseInstallClass subclass. This</dt>
|
|
<dd>is useful for determining distribution-specific
|
|
installation information like default package
|
|
selections and default partitioning.</dd>
|
|
</dl>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Hub.data">
|
|
<tt class="descname">data</tt><a class="headerlink" href="#pyanaconda.ui.common.Hub.data" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Hub.entry_logger">
|
|
<tt class="descname">entry_logger</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Hub.entry_logger" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Log immediately before this hub is about to be displayed on the
|
|
screen. Subclasses may override this method if they want to log
|
|
more specific information, but an overridden method should finish
|
|
by calling this method so the entry will be logged.</p>
|
|
<p>Note that due to how the GUI flows, hubs are only entered once -
|
|
when they are initially displayed. Going to a spoke from a hub
|
|
and then coming back to the hub does not count as exiting and
|
|
entering.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Hub.exit_logger">
|
|
<tt class="descname">exit_logger</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Hub.exit_logger" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Log when a user leaves the hub. Subclasses may override this
|
|
method if they want to log more specific information, but an
|
|
overridden method should finish by calling this method so the
|
|
exit will be logged.</p>
|
|
<p>Note that due to how the GUI flows, hubs are not exited when the
|
|
user selects a spoke from the hub. They are only exited when the
|
|
continue or quit button is clicked on the hub.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Hub.set_path">
|
|
<tt class="descname">set_path</tt><big>(</big><em>path_id</em>, <em>paths</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Hub.set_path" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Update the paths attribute with list of tuples in the form (module
|
|
name format string, directory name)</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Hub.storage">
|
|
<tt class="descname">storage</tt><a class="headerlink" href="#pyanaconda.ui.common.Hub.storage" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.NormalSpoke">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">NormalSpoke</tt><big>(</big><em>storage</em>, <em>payload</em>, <em>instclass</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.NormalSpoke" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.ui.common.Spoke" title="pyanaconda.ui.common.Spoke"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.common.Spoke</span></tt></a></p>
|
|
<p>A NormalSpoke is a Spoke subclass that is displayed when the user
|
|
selects something on a Hub. This is what most Spokes in anaconda will
|
|
be based on.</p>
|
|
<p>From a layout perspective, a NormalSpoke takes up the entire screen
|
|
therefore hiding the Hub and its action area. The NormalSpoke also
|
|
provides some basic navigation information (where you are, what you’re
|
|
installing, how to get back to the Hub) at the top of the screen.</p>
|
|
<p>Create a NormalSpoke instance.</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.NormalSpoke.indirect">
|
|
<tt class="descname">indirect</tt><a class="headerlink" href="#pyanaconda.ui.common.NormalSpoke.indirect" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>If this property returns True, then this spoke is considered indirect.
|
|
An indirect spoke is one that can only be reached through another spoke
|
|
instead of directly through the hub. One example of this is the
|
|
custom partitioning spoke, which may only be accessed through the
|
|
install destination spoke.</p>
|
|
<p>Indirect spokes do not need to provide a completed or status property.</p>
|
|
<p>For most spokes, overriding this property is unnecessary.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.NormalSpoke.ready">
|
|
<tt class="descname">ready</tt><a class="headerlink" href="#pyanaconda.ui.common.NormalSpoke.ready" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns True if the Spoke has all the information required to be
|
|
displayed. Almost all spokes should keep the default value here.
|
|
Only override this method if the Spoke requires some potentially
|
|
long-lived process (like storage probing) before it’s ready.</p>
|
|
<p>A Spoke may be marked as ready or not by calling send_ready or
|
|
send_not_ready from pyanaconda.ui.communication with the
|
|
target Spoke’s class name.</p>
|
|
<p>While a Spoke is not ready, a progress message may be shown to
|
|
give the user some feedback. See the status property for details.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.Spoke">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">Spoke</tt><big>(</big><em>storage</em>, <em>payload</em>, <em>instclass</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Spoke" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>A Spoke is a single configuration screen. There are several different
|
|
places where a Spoke can be displayed, each of which will have its own
|
|
unique class. A Spoke is typically used when an element in the Hub is
|
|
selected but can also be displayed before a Hub or between multiple
|
|
Hubs.</p>
|
|
<p>What amount of the UI layout a Spoke provides depends upon where it is
|
|
to be shown. Regardless, the UI of a Spoke should be given by an
|
|
interface description file like glade as often as possible, though this
|
|
is not a strict requirement.</p>
|
|
<p>Class attributes:</p>
|
|
<dl class="docutils">
|
|
<dt>category – Under which SpokeCategory shall this Spoke be displayed</dt>
|
|
<dd>in the Hub? This is a reference to a Hub subclass (not an
|
|
object, but the class itself). If no category is given,
|
|
this Spoke will not be displayed. Note that category is
|
|
not required for any Spokes appearing before or after a
|
|
Hub.</dd>
|
|
<dt>icon – The name of the icon to be displayed in the SpokeSelector</dt>
|
|
<dd>widget corresponding to this Spoke instance. If no icon
|
|
is given, the default from SpokeSelector will be used.</dd>
|
|
<dt>title – The title to be displayed in the SpokeSelector widget</dt>
|
|
<dd>corresponding to this Spoke instance. If no title is
|
|
given, the default from SpokeSelector will be used.</dd>
|
|
</dl>
|
|
<p>Create a new Spoke instance.</p>
|
|
<p>The arguments this base class accepts defines the API that spokes
|
|
have to work with. A Spoke does not get free reign over everything
|
|
in the anaconda class, as that would be a big mess. Instead, a
|
|
Spoke may count on the following:</p>
|
|
<dl class="docutils">
|
|
<dt>data – An instance of a pykickstart Handler object. The</dt>
|
|
<dd>Spoke uses this to populate its UI with defaults
|
|
and to pass results back after it has run. The data
|
|
property must be implemented by classes inherting
|
|
from Spoke.</dd>
|
|
<dt>storage – An instance of storage.Storage. This is useful for</dt>
|
|
<dd>determining what storage devices are present and how
|
|
they are configured.</dd>
|
|
<dt>payload – An instance of a packaging.Payload subclass. This</dt>
|
|
<dd>is useful for displaying and selecting packages to
|
|
install, and in carrying out the actual installation.</dd>
|
|
<dt>instclass – An instance of a BaseInstallClass subclass. This</dt>
|
|
<dd>is useful for determining distribution-specific
|
|
installation information like default package
|
|
selections and default partitioning.</dd>
|
|
</dl>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Spoke.apply">
|
|
<tt class="descname">apply</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Spoke.apply" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Apply the selections made on this Spoke to the object’s preset
|
|
data object. This method must be provided by every subclass.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.category">
|
|
<tt class="descname">category</tt><em class="property"> = None</em><a class="headerlink" href="#pyanaconda.ui.common.Spoke.category" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.changed">
|
|
<tt class="descname">changed</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Have the values on the spoke changed since the last time it was
|
|
run? If not, the apply and execute methods will be skipped. This
|
|
is to avoid the spoke doing potentially long-lived and destructive
|
|
actions that are completely unnecessary.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.completed">
|
|
<tt class="descname">completed</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.completed" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Has this spoke been visited and completed? If not and the spoke is
|
|
mandatory, a special warning icon will be shown on the Hub beside the
|
|
spoke, and a highlighted message will be shown at the bottom of the
|
|
Hub. Installation will not be allowed to proceed until all mandatory
|
|
spokes are complete.</p>
|
|
<p>WARNING: This can be called before the spoke is finished initializing
|
|
if the spoke starts a thread. It should make sure it doesn’t access
|
|
things until they are completely setup.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.configured">
|
|
<tt class="descname">configured</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.configured" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>This method returns a list of textual ids that should
|
|
be written into the after-install customization status
|
|
file for the firstboot and GIE to know that the spoke was
|
|
configured and what value groups were provided.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.data">
|
|
<tt class="descname">data</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.data" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Spoke.entry_logger">
|
|
<tt class="descname">entry_logger</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Spoke.entry_logger" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Log immediately before this spoke is about to be displayed on the
|
|
screen. Subclasses may override this method if they want to log
|
|
more specific information, but an overridden method should finish
|
|
by calling this method so the entry will be logged.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Spoke.execute">
|
|
<tt class="descname">execute</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Spoke.execute" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Cause the data object to take effect on the target system. This will
|
|
usually be as simple as calling one or more of the execute methods on
|
|
the data object. This method does not need to be provided by all
|
|
subclasses.</p>
|
|
<p>This method will be called in two different places: (1) Immediately
|
|
after initialize on kickstart installs. (2) Immediately after apply
|
|
in all cases.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.Spoke.exit_logger">
|
|
<tt class="descname">exit_logger</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Spoke.exit_logger" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Log when a user leaves the spoke. Subclasses may override this
|
|
method if they want to log more specific information, but an
|
|
overridden method should finish by calling this method so the
|
|
exit will be logged.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.icon">
|
|
<tt class="descname">icon</tt><em class="property"> = None</em><a class="headerlink" href="#pyanaconda.ui.common.Spoke.icon" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.mandatory">
|
|
<tt class="descname">mandatory</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.mandatory" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Mark this spoke as mandatory. Installation will not be allowed
|
|
to proceed until all mandatory spokes are complete.</p>
|
|
<p>Spokes are mandatory unless marked as not being so.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.sensitive">
|
|
<tt class="descname">sensitive</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.sensitive" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>May the user click on this spoke’s selector and be taken to the spoke?
|
|
This is different from the showable property. A spoke that is not
|
|
sensitive will still be shown on the hub, but the user may not enter it.
|
|
This is also different from the ready property. A spoke that is not
|
|
ready may not be entered, but the spoke may become ready in the future.
|
|
A spoke that is not sensitive will likely not become so.</p>
|
|
<p>Most spokes will not want to override this method.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="classmethod">
|
|
<dt id="pyanaconda.ui.common.Spoke.should_run">
|
|
<em class="property">classmethod </em><tt class="descname">should_run</tt><big>(</big><em>environment</em>, <em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.Spoke.should_run" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>This method is responsible for beginning Spoke initialization.</p>
|
|
<p>It should return True if the spoke is to be shown while in
|
|
<environment> and False if it should be skipped.</p>
|
|
<p>It might be called multiple times, with or without (None)
|
|
the data argument.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.status">
|
|
<tt class="descname">status</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.status" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Given the current status of whatever this Spoke configures, return
|
|
a very brief string. The purpose of this is to display something
|
|
on the Hub under the Spoke’s title so the user can tell at a glance
|
|
how things are configured.</p>
|
|
<p>A spoke’s status line on the Hub can also be overloaded to provide
|
|
information about why a Spoke is not yet ready, or if an error has
|
|
occurred when setting it up. This can be done by calling
|
|
send_message from pyanaconda.ui.communication with the target
|
|
Spoke’s class name and the message to be displayed.</p>
|
|
<p>If the Spoke was not yet ready when send_message was called, the
|
|
message will be overwritten with the value of this status property
|
|
when the Spoke becomes ready.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.storage">
|
|
<tt class="descname">storage</tt><a class="headerlink" href="#pyanaconda.ui.common.Spoke.storage" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.Spoke.title">
|
|
<tt class="descname">title</tt><em class="property"> = None</em><a class="headerlink" href="#pyanaconda.ui.common.Spoke.title" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.StandaloneSpoke">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">StandaloneSpoke</tt><big>(</big><em>storage</em>, <em>payload</em>, <em>instclass</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.StandaloneSpoke" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.ui.common.Spoke" title="pyanaconda.ui.common.Spoke"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.common.Spoke</span></tt></a></p>
|
|
<p>A StandaloneSpoke is a Spoke subclass that is displayed apart from any
|
|
Hub. It is suitable to be used as a Welcome screen.</p>
|
|
<p>From a layout perspective, a StandaloneSpoke provides a full screen
|
|
interface. However, it also provides navigation information at the top
|
|
and bottom of the screen that makes it look like the StandaloneSpoke
|
|
fits into some other UI element.</p>
|
|
<p>Class attributes:</p>
|
|
<dl class="docutils">
|
|
<dt>preForHub/postForHub – A reference to a Hub subclass this Spoke is</dt>
|
|
<dd>either a pre or post action for. Only one of
|
|
these may be set at a time. Note that all
|
|
post actions will be run for one hub before
|
|
any pre actions for the next.</dd>
|
|
<dt>priority – This value is used to sort pre and post</dt>
|
|
<dd>actions. The lower a value, the earlier it
|
|
will be run. So a value of 0 for a post action
|
|
ensures it will run immediately after a Hub,
|
|
while a value of 0 for a pre actions means
|
|
it will run as the first thing.</dd>
|
|
</dl>
|
|
<p>Create a StandaloneSpoke instance.</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.StandaloneSpoke.postForHub">
|
|
<tt class="descname">postForHub</tt><em class="property"> = None</em><a class="headerlink" href="#pyanaconda.ui.common.StandaloneSpoke.postForHub" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.StandaloneSpoke.preForHub">
|
|
<tt class="descname">preForHub</tt><em class="property"> = None</em><a class="headerlink" href="#pyanaconda.ui.common.StandaloneSpoke.preForHub" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.StandaloneSpoke.status">
|
|
<tt class="descname">status</tt><a class="headerlink" href="#pyanaconda.ui.common.StandaloneSpoke.status" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.common.UIObject">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">UIObject</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.UIObject" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>This is the base class from which all other UI classes are derived. It
|
|
thus contains only attributes and methods that are common to everything
|
|
else. It should not be directly instantiated.</p>
|
|
<p>Create a new UIObject instance, including loading its uiFile and
|
|
all UI-related objects.</p>
|
|
<p>Instance attributes:</p>
|
|
<dl class="docutils">
|
|
<dt>data – An instance of a pykickstart Handler object. The Hub</dt>
|
|
<dd>never directly uses this instance. Instead, it passes
|
|
it down into Spokes when they are created and applied.
|
|
The Hub simply stores this instance so it doesn’t need
|
|
to be passed by the user.</dd>
|
|
</dl>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.UIObject.data">
|
|
<tt class="descname">data</tt><a class="headerlink" href="#pyanaconda.ui.common.UIObject.data" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.UIObject.initialize">
|
|
<tt class="descname">initialize</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.UIObject.initialize" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Perform whatever actions are necessary to pre-fill the UI with
|
|
values. This method is called only once, after the object is
|
|
created. The difference between this method and __init__ is that
|
|
this method may take a long time (especially for NormalSpokes) and
|
|
thus may be run in its own thread.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.UIObject.refresh">
|
|
<tt class="descname">refresh</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.UIObject.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Perform whatever actions are necessary to reset the UI immediately
|
|
before it is displayed. This method is called every time a screen
|
|
is shown, which could potentially be several times in the case of a
|
|
NormalSpoke. Thus, it’s important to not do things like populate
|
|
stores (which could result in the store having duplicate entries) or
|
|
anything that takes a long time (as that will result in a delay
|
|
between the user’s action and showing the results).</p>
|
|
<p>For anything potentially long-lived, use the initialize method.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.common.UIObject.showable">
|
|
<tt class="descname">showable</tt><a class="headerlink" href="#pyanaconda.ui.common.UIObject.showable" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Should this object even be shown? This method is useful for checking
|
|
some precondition before this screen is shown. If False is returned,
|
|
the screen will be skipped and the object destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.common.UIObject.teardown">
|
|
<tt class="descname">teardown</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.UIObject.teardown" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Perform whatever actions are necessary to clean up after this object
|
|
is done. It’s not necessary for every subclass to have an instance
|
|
of this method.</p>
|
|
<p>NOTE: It is important for this method to not destroy self.window if
|
|
you are making a Spoke or Hub subclass. It is assumed that once
|
|
these are instantiated, they live until the program terminates. This
|
|
is required for various status notifications.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.common.collect">
|
|
<tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">collect</tt><big>(</big><em>module_pattern</em>, <em>path</em>, <em>pred</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.collect" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Traverse the directory (given by path), import all files as a module
|
|
module_pattern % filename and find all classes within that match
|
|
the given predicate. This is then returned as a list of classes.</p>
|
|
<p>It is suggested you use collect_categories or collect_spokes instead of
|
|
this lower-level method.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
|
|
<li><strong>module_pattern</strong> (<a class="reference external" href="https://docs.python.org/3/library/string.html#module-string" title="(in Python v3.4)"><em>string</em></a>) – the full name pattern (pyanaconda.ui.gui.spokes.%s)
|
|
we want to assign to imported modules</li>
|
|
<li><strong>path</strong> (<a class="reference external" href="https://docs.python.org/3/library/string.html#module-string" title="(in Python v3.4)"><em>string</em></a>) – the directory we are picking up modules from</li>
|
|
<li><strong>pred</strong> (<em>function with one argument returning True or False</em>) – function which marks classes as good to import</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.common.collectCategoriesAndSpokes">
|
|
<tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">collectCategoriesAndSpokes</tt><big>(</big><em>paths</em>, <em>klass</em>, <em>displaymode</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.collectCategoriesAndSpokes" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>collects categories and spokes to be displayed on this Hub</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>paths</strong> – dictionary mapping categories, spokes, and hubs to their</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>their respective search path(s)
|
|
:return: dictionary mapping category class to list of spoke classes
|
|
:rtype: dictionary[category class] -> [ list of spoke classes ]</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.common.collect_categories">
|
|
<tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">collect_categories</tt><big>(</big><em>mask_paths</em>, <em>displaymode</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.collect_categories" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Return a list of all category subclasses. Look for them in modules
|
|
imported as module_mask % basename(f) where f is name of all files in path.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.common.collect_spokes">
|
|
<tt class="descclassname">pyanaconda.ui.common.</tt><tt class="descname">collect_spokes</tt><big>(</big><em>mask_paths</em>, <em>category</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.common.collect_spokes" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Return a list of all spoke subclasses that should appear for a given
|
|
category. Look for them in files imported as module_path % basename(f)</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>mask_paths</strong> (<em>list of (mask, path)</em>) – list of mask, path tuples to search for classes</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">list of Spoke classes belonging to category</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">list of Spoke classes</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.communication">
|
|
<span id="pyanaconda-ui-communication-module"></span><h2>pyanaconda.ui.communication module<a class="headerlink" href="#module-pyanaconda.ui.communication" title="Permalink to this headline">¶</a></h2>
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.helpers">
|
|
<span id="pyanaconda-ui-helpers-module"></span><h2>pyanaconda.ui.helpers module<a class="headerlink" href="#module-pyanaconda.ui.helpers" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.helpers.</tt><tt class="descname">InputCheck</tt><big>(</big><em>parent</em>, <em>input_obj</em>, <em>run_check</em>, <em>data=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>Handle an input validation check.</p>
|
|
<p>This class is used by classes that implement InputCheckHandler to
|
|
manage and manipulate input validation check instances.</p>
|
|
<p>Create a new input validation check.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
|
|
<li><strong>parent</strong> (<em>InputCheckHandler</em>) – The InputCheckHandler object to which this
|
|
check is being added.</li>
|
|
<li><strong>input_obj</strong> (<em>function</em>) – An object representing the input to check.</li>
|
|
<li><strong>run_check</strong> (<em>function</em>) – A function to call to perform the input check. This
|
|
function is called with the InputCheck object as a
|
|
parameter. The return value an object representing
|
|
the error state, or CHECK_OK if the check succeeds.</li>
|
|
<li><strong>data</strong> – Optional data associated with the input check</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.CHECK_OK">
|
|
<tt class="descname">CHECK_OK</tt><em class="property"> = None</em><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.CHECK_OK" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.CHECK_SILENT">
|
|
<tt class="descname">CHECK_SILENT</tt><em class="property"> = ''</em><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.CHECK_SILENT" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.check_status">
|
|
<tt class="descname">check_status</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.check_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The current status of the check</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.data">
|
|
<tt class="descname">data</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.data" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Optional data associated with the input check.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.enabled">
|
|
<tt class="descname">enabled</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.enabled" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Whether the check is enabled or not.</p>
|
|
<p>Disabling a check indicates that the status will not change if
|
|
the input changes. The value of check_status will be the result of
|
|
the last time the InputCheck was run when enabled. Disabled checks
|
|
will not be included in InputCheckHandler.failed_checks.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.input_obj">
|
|
<tt class="descname">input_obj</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.input_obj" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The input to check.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.run_check">
|
|
<tt class="descname">run_check</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.run_check" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A function to call to perform the input check.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.InputCheck.update_check_status">
|
|
<tt class="descname">update_check_status</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheck.update_check_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Run an input validation check.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.helpers.</tt><tt class="descname">InputCheckHandler</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>Provide a framework for adding input validation checks to a screen.</p>
|
|
<p>This helper class provides a mean of defining and associating input
|
|
validation checks with an input screen. Running the checks and acting
|
|
upon the results is left up to the subclasses. Classes implementing
|
|
InputCheckHandler should ensure that the checks are run at the
|
|
appropriate times (e.g., calling InputCheck.update_check_status when
|
|
input is changed), and that input for the screen is not accepted if
|
|
self.failed_checks is not empty.</p>
|
|
<p>See GUIInputCheckHandler and GUISpokeInputCheckHandler for additional
|
|
functionality.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.add_check">
|
|
<tt class="descname">add_check</tt><big>(</big><em>input_obj</em>, <em>run_check</em>, <em>data=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.add_check" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Add an input validation check to this object.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|
<li><strong>input_obj</strong> – An object representing the input to check.</li>
|
|
<li><strong>run_check</strong> (<em>function</em>) – A function to call to perform the input check. This
|
|
function is called with the InputCheck object as a
|
|
parameter. The return value an object representing
|
|
the error state, or CHECK_OK if the check succeeds.</li>
|
|
<li><strong>data</strong> – Optional data associated with the input check</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The InputCheck object created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">InputCheck</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.add_re_check">
|
|
<tt class="descname">add_re_check</tt><big>(</big><em>input_obj</em>, <em>regex</em>, <em>message</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.add_re_check" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Add a check using a regular expression.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
|
|
<li><strong>input_obj</strong> (<em>function</em>) – An object representing the input to check.</li>
|
|
<li><strong>regex</strong> (<em>re.RegexObject</em>) – The regular expression to check input against.</li>
|
|
<li><strong>message</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.4)"><em>str</em></a>) – A message to return for failed checks</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">The InputCheck object created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">InputCheck</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.checks">
|
|
<tt class="descname">checks</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.checks" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>An iterator over all input checks</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.failed_checks">
|
|
<tt class="descname">failed_checks</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.failed_checks" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A generator of all failed input checks</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.failed_checks_with_message">
|
|
<tt class="descname">failed_checks_with_message</tt><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.failed_checks_with_message" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A generator of all failed input checks with an error message</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.get_input">
|
|
<tt class="descname">get_input</tt><big>(</big><em>input_obj</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.get_input" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Return the input string from an input object.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>input_obj</strong> – The input object</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">An input string</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">str</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.remove_check">
|
|
<tt class="descname">remove_check</tt><big>(</big><em>inputcheck</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.remove_check" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Remove an input check.</p>
|
|
<p>If the check being removed is not in the OK status, the status will
|
|
be set to CHECK_OK and set_status will be called.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>InputCheck</strong> (<em>inputcheck</em>) – the InputCheck object to remove</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name" colspan="2">Raises <a class="reference external" href="https://docs.python.org/3/library/exceptions.html#ValueError" title="(in Python v3.4)">ValueError</a>:</th></tr>
|
|
<tr class="field-even field"><td> </td><td class="field-body">if the inputcheck does not exist for this InputCheckHandler</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.InputCheckHandler.set_status">
|
|
<tt class="descname">set_status</tt><big>(</big><em>inputcheck</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.InputCheckHandler.set_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Update the status of the window from the input validation results.</p>
|
|
<p>This function could, for example, set or clear an error on the window,
|
|
or display a message near an input area with invalid data.</p>
|
|
<table class="docutils field-list" frame="void" rules="none">
|
|
<col class="field-name" />
|
|
<col class="field-body" />
|
|
<tbody valign="top">
|
|
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>inputcheck</strong> (<em>InputCheck</em>) – The InputCheck object whose status last changed.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.helpers.</tt><tt class="descname">SourceSwitchHandler</tt><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>A class that can be used as a mixin handling
|
|
installation source switching.
|
|
It will correctly switch to the new method
|
|
and cleanup any previous method set.</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.data">
|
|
<tt class="descname">data</tt><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.data" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.set_source_cdrom">
|
|
<tt class="descname">set_source_cdrom</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.set_source_cdrom" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Switch to cdrom install source</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.set_source_closest_mirror">
|
|
<tt class="descname">set_source_closest_mirror</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.set_source_closest_mirror" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Switch to the closest mirror install source</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.set_source_hdd_iso">
|
|
<tt class="descname">set_source_hdd_iso</tt><big>(</big><em>device</em>, <em>iso_path</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.set_source_hdd_iso" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Switch to the HDD ISO install source
|
|
:param partition: name of the partition hosting the ISO
|
|
:type partition: string
|
|
:param iso_path: full path to the source ISO file
|
|
:type iso_path: string</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.set_source_nfs">
|
|
<tt class="descname">set_source_nfs</tt><big>(</big><em>opts=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.set_source_nfs" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Switch to NFS install source</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.set_source_url">
|
|
<tt class="descname">set_source_url</tt><big>(</big><em>url=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.set_source_url" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Switch to install source specified by URL</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.SourceSwitchHandler.storage">
|
|
<tt class="descname">storage</tt><a class="headerlink" href="#pyanaconda.ui.helpers.SourceSwitchHandler.storage" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.helpers.</tt><tt class="descname">StorageChecker</tt><big>(</big><em>min_ram=320</em>, <em>mainSpokeClass='StorageSpoke'</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker.checkStorage">
|
|
<tt class="descname">checkStorage</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker.checkStorage" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker.errors">
|
|
<tt class="descname">errors</tt><em class="property"> = []</em><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker.errors" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker.log">
|
|
<tt class="descname">log</tt><em class="property"> = <logging.Logger object at 0x7feabba23710></em><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker.log" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker.run">
|
|
<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker.storage">
|
|
<tt class="descname">storage</tt><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker.storage" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.helpers.StorageChecker.warnings">
|
|
<tt class="descname">warnings</tt><em class="property"> = []</em><a class="headerlink" href="#pyanaconda.ui.helpers.StorageChecker.warnings" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui">
|
|
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyanaconda.ui" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.UserInterface">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.</tt><tt class="descname">UserInterface</tt><big>(</big><em>storage</em>, <em>payload</em>, <em>instclass</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.object</span></tt></p>
|
|
<p>This is the base class for all kinds of install UIs. It primarily
|
|
defines what kinds of dialogs and entry widgets every interface must
|
|
provide that the rest of anaconda may rely upon.</p>
|
|
<p>Create a new UserInterface instance.</p>
|
|
<p>The arguments this base class accepts defines the API that interfaces
|
|
have to work with. A UserInterface does not get free reign over
|
|
everything in the anaconda class, as that would be a big mess.
|
|
Instead, a UserInterface may count on the following:</p>
|
|
<dl class="docutils">
|
|
<dt>storage – An instance of storage.Storage. This is useful for</dt>
|
|
<dd>determining what storage devices are present and how
|
|
they are configured.</dd>
|
|
<dt>payload – An instance of a packaging.Payload subclass. This</dt>
|
|
<dd>is useful for displaying and selecting packages to
|
|
install, and in carrying out the actual installation.</dd>
|
|
<dt>instclass – An instance of a BaseInstallClass subclass. This</dt>
|
|
<dd>is useful for determining distribution-specific
|
|
installation information like default package
|
|
selections and default partitioning.</dd>
|
|
</dl>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.UserInterface.meh_interface">
|
|
<tt class="descname">meh_interface</tt><a class="headerlink" href="#pyanaconda.ui.UserInterface.meh_interface" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns an interface for exception handling (defined by python-meh’s
|
|
AbstractIntf class).</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.UserInterface.paths">
|
|
<tt class="descname">paths</tt><em class="property"> = {}</em><a class="headerlink" href="#pyanaconda.ui.UserInterface.paths" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.UserInterface.run">
|
|
<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Run the interface. This should do little more than just pass
|
|
through to something else’s run method, but is provided here in
|
|
case more is needed. This method must be provided by all subclasses.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.UserInterface.setup">
|
|
<tt class="descname">setup</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface.setup" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Construct all the objects required to implement this interface.
|
|
This method must be provided by all subclasses.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.UserInterface.showDetailedError">
|
|
<tt class="descname">showDetailedError</tt><big>(</big><em>message</em>, <em>details</em>, <em>buttons=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface.showDetailedError" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.UserInterface.showError">
|
|
<tt class="descname">showError</tt><big>(</big><em>message</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface.showError" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Display an error dialog with the given message. There is no return
|
|
value. This method must be implemented by all UserInterface
|
|
subclasses.</p>
|
|
<p>In the code, this method should be used sparingly and only for
|
|
critical errors that anaconda cannot figure out how to recover from.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.UserInterface.showYesNoQuestion">
|
|
<tt class="descname">showYesNoQuestion</tt><big>(</big><em>message</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface.showYesNoQuestion" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Display a dialog with the given message that presents the user a yes
|
|
or no choice. This method returns True if the yes choice is selected,
|
|
and False if the no choice is selected. From here, anaconda can
|
|
figure out what to do next. This method must be implemented by all
|
|
UserInterface subclasses.</p>
|
|
<p>In the code, this method should be used sparingly and only for those
|
|
times where anaconda cannot make a reasonable decision. We don’t
|
|
want to overwhelm the user with choices.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.UserInterface.tty_num">
|
|
<tt class="descname">tty_num</tt><a class="headerlink" href="#pyanaconda.ui.UserInterface.tty_num" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns the number of tty the UserInterface is running on.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="classmethod">
|
|
<dt id="pyanaconda.ui.UserInterface.update_paths">
|
|
<em class="property">classmethod </em><tt class="descname">update_paths</tt><big>(</big><em>pathdict</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.UserInterface.update_paths" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Receives pathdict and appends it’s contents to the current
|
|
class defined search path dictionary.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
<a href="pyanaconda.ui.categories.html" class="btn btn-neutral float-right" title="pyanaconda.ui.categories package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
|
|
|
|
|
|
<a href="pyanaconda.packaging.html" class="btn btn-neutral" title="pyanaconda.packaging package" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
|
|
|
</div>
|
|
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>
|
|
© Copyright 2015, Red Hat, Inc..
|
|
</p>
|
|
</div>
|
|
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT:'./',
|
|
VERSION:'23.15',
|
|
COLLAPSE_INDEX:false,
|
|
FILE_SUFFIX:'.html',
|
|
HAS_SOURCE: true
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="_static/js/theme.js"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
jQuery(function () {
|
|
SphinxRtdTheme.StickyNav.enable();
|
|
});
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html> |