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.
1095 lines
75 KiB
HTML
Executable File
1095 lines
75 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.gui 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.ui package" href="pyanaconda.ui.html"/>
|
|
<link rel="next" title="pyanaconda.ui.gui.hubs package" href="pyanaconda.ui.gui.hubs.html"/>
|
|
<link rel="prev" title="pyanaconda.ui.categories package" href="pyanaconda.ui.categories.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="reference internal" href="pyanaconda.ui.html">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><a href="pyanaconda.ui.html">pyanaconda.ui package</a> »</li>
|
|
|
|
<li>pyanaconda.ui.gui package</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
<a href="_sources/pyanaconda.ui.gui.txt" rel="nofollow"> View page source</a>
|
|
|
|
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document">
|
|
|
|
<div class="section" id="pyanaconda-ui-gui-package">
|
|
<h1>pyanaconda.ui.gui package<a class="headerlink" href="#pyanaconda-ui-gui-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.gui.hubs.html">pyanaconda.ui.gui.hubs package</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l2"><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-l2"><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-l2"><a class="reference internal" href="pyanaconda.ui.gui.hubs.html#module-pyanaconda.ui.gui.hubs">Module contents</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html">pyanaconda.ui.gui.spokes package</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#subpackages">Subpackages</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html">pyanaconda.ui.gui.spokes.advstorage package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.advstorage.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l3"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html">pyanaconda.ui.gui.spokes.lib package</a><ul>
|
|
<li class="toctree-l4"><a class="reference internal" href="pyanaconda.ui.gui.spokes.lib.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l4"><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-l2"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#submodules">Submodules</a></li>
|
|
<li class="toctree-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><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-l2"><a class="reference internal" href="pyanaconda.ui.gui.spokes.html#module-pyanaconda.ui.gui.spokes">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.gui.helpers">
|
|
<span id="pyanaconda-ui-gui-helpers-module"></span><h2>pyanaconda.ui.gui.helpers module<a class="headerlink" href="#module-pyanaconda.ui.gui.helpers" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.helpers.</tt><tt class="descname">GUIDialogInputCheckHandler</tt><big>(</big><em>ok_button=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.ui.gui.helpers.GUIInputCheckHandler" title="pyanaconda.ui.gui.helpers.GUIInputCheckHandler"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.helpers.GUIInputCheckHandler</span></tt></a></p>
|
|
<p>Provide InputCheckHandler functionality for Gtk dialogs.</p>
|
|
<p>If an OK button is provided in the constructor, this class will
|
|
handle setting the sensitivity of the button to match the input
|
|
check result. A method on_ok_clicked is provided to determine whether
|
|
the dialog can be exited, similar to on_back_clicked for spokes.</p>
|
|
<p>It’s not possible (or at least not easy) to prent a GtkDialog from
|
|
returning a response, so the caller of gtk_dialog_run needs to check
|
|
whether the input is valid and decide based on that whether to destroy
|
|
the dialog or call gtk_dialog_run again.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler.on_ok_clicked">
|
|
<tt class="descname">on_ok_clicked</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler.on_ok_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Return whether the input validation checks allow the dialog to be exited.</p>
|
|
<p>Unlike GUISpokeInputCheckHandler.on_back_clicked, it is not expected that
|
|
subclasses will implement this method.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler.set_status">
|
|
<tt class="descname">set_status</tt><big>(</big><em>inputcheck</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler.set_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIInputCheck">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.helpers.</tt><tt class="descname">GUIInputCheck</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.gui.helpers.GUIInputCheck" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.html#pyanaconda.ui.helpers.InputCheck" title="pyanaconda.ui.helpers.InputCheck"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.helpers.InputCheck</span></tt></a></p>
|
|
<p>Add timer awareness to an InputCheck.</p>
|
|
<p>Add a delay before running the validation function so that the
|
|
function is not run for every keystroke. Run any pending actions
|
|
before returning a status.</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIInputCheck.check_status">
|
|
<tt class="descname">check_status</tt><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUIInputCheck.check_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIInputCheckHandler">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.helpers.</tt><tt class="descname">GUIInputCheckHandler</tt><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUIInputCheckHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.html#pyanaconda.ui.helpers.InputCheckHandler" title="pyanaconda.ui.helpers.InputCheckHandler"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.helpers.InputCheckHandler</span></tt></a></p>
|
|
<p>Provide InputCheckHandler functionality for Gtk input screens.</p>
|
|
<p>This class assumes that all input objects are of type GtkEditable and
|
|
attaches InputCheck.update_check_status to the changed signal.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIInputCheckHandler.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.gui.helpers.GUIInputCheckHandler.add_check" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUIInputCheckHandler.get_input">
|
|
<tt class="descname">get_input</tt><big>(</big><em>input_obj</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUIInputCheckHandler.get_input" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.helpers.</tt><tt class="descname">GUISpokeInputCheckHandler</tt><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="#pyanaconda.ui.gui.helpers.GUIInputCheckHandler" title="pyanaconda.ui.gui.helpers.GUIInputCheckHandler"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.helpers.GUIInputCheckHandler</span></tt></a></p>
|
|
<p>Provide InputCheckHandler functionality for graphical spokes.</p>
|
|
<p>This class implements set_status to set a message in the warning area of
|
|
the spoke window and provides an implementation of on_back_clicked to
|
|
prevent the user from exiting a spoke with bad input.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.clear_info">
|
|
<tt class="descname">clear_info</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.clear_info" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.on_back_clicked">
|
|
<tt class="descname">on_back_clicked</tt><big>(</big><em>window</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.on_back_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Check whether the input validation checks allow the spoke to be exited.</p>
|
|
<p>Unlike NormalSpoke.on_back_clicked, this function returns a boolean value.
|
|
Classes implementing this class should run GUISpokeInputCheckHandler.on_back_clicked,
|
|
and if it succeeded, run NormalSpoke.on_back_clicked.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.set_status">
|
|
<tt class="descname">set_status</tt><big>(</big><em>inputcheck</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.set_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Update the warning with the input validation error from the first
|
|
error message.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.set_warning">
|
|
<tt class="descname">set_warning</tt><big>(</big><em>msg</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.set_warning" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.window">
|
|
<tt class="descname">window</tt><a class="headerlink" href="#pyanaconda.ui.gui.helpers.GUISpokeInputCheckHandler.window" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.utils">
|
|
<span id="pyanaconda-ui-gui-utils-module"></span><h2>pyanaconda.ui.gui.utils module<a class="headerlink" href="#module-pyanaconda.ui.gui.utils" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.utils.GtkActionList">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">GtkActionList</tt><a class="headerlink" href="#pyanaconda.ui.gui.utils.GtkActionList" 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>Class for scheduling Gtk actions to be all run at once.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.utils.GtkActionList.add_action">
|
|
<tt class="descname">add_action</tt><big>(</big><em>func</em>, <em>*args</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.GtkActionList.add_action" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Add Gtk action to be run later.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.utils.GtkActionList.fire">
|
|
<tt class="descname">fire</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.GtkActionList.fire" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Run all scheduled Gtk actions.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.blockedHandler">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">blockedHandler</tt><big>(</big><em>obj</em>, <em>func</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.blockedHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Prevent a GLib signal handling function from being called during some
|
|
block of code.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.busyCursor">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">busyCursor</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.busyCursor" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.escape_markup">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">escape_markup</tt><big>(</big><em>value</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.escape_markup" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Escape strings for use within Pango markup.</p>
|
|
<p>This function converts the value to a string before passing markup_escape_text().</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.fancy_set_sensitive">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">fancy_set_sensitive</tt><big>(</big><em>widget</em>, <em>value</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.fancy_set_sensitive" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Set the sensitivity of a widget, and then set the sensitivity of
|
|
all widgets it is a mnemonic widget for. This has the effect of
|
|
marking both an entry and its label as sensitive/insensitive, for
|
|
instance.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.fire_gtk_action">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">fire_gtk_action</tt><big>(</big><em>func</em>, <em>*args</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.fire_gtk_action" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Run some Gtk action in the main thread and wait for it.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.gtk_action_nowait">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">gtk_action_nowait</tt><big>(</big><em>func</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.gtk_action_nowait" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Decorator method which ensures every call of the decorated function to be
|
|
executed in the context of Gtk main loop even if called from a non-main
|
|
thread. The new method does not wait for the callback to finish.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.gtk_action_wait">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">gtk_action_wait</tt><big>(</big><em>func</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.gtk_action_wait" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Decorator method which ensures every call of the decorated function to be
|
|
executed in the context of Gtk main loop even if called from a non-main
|
|
thread and returns the ret value after the decorated method finishes.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.gtk_batch_map">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">gtk_batch_map</tt><big>(</big><em>action</em>, <em>items</em>, <em>args=()</em>, <em>pre_func=None</em>, <em>batch_size=1</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.gtk_batch_map" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Function that maps an action on items in a way that makes the action run in
|
|
the main thread, but without blocking the main thread for a noticeable
|
|
time. If a pre-processing function is given it is mapped on the items first
|
|
before the action happens in the main thread.</p>
|
|
<p>MUST NOT BE CALLED NOR WAITED FOR FROM THE MAIN THREAD.</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>action</strong> ((action_item, <a href="#id1"><span class="problematic" id="id2">*</span></a>args) -> None) – any action that has to be done on the items in the main
|
|
thread</li>
|
|
<li><strong>items</strong> (<em>iterable</em>) – an iterable of items that the action should be mapped on</li>
|
|
<li><strong>args</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#tuple" title="(in Python v3.4)"><em>tuple</em></a>) – additional arguments passed to the action function</li>
|
|
<li><strong>pre_func</strong> (<em>item -> action_item</em>) – a function that is mapped on the items before they are
|
|
passed to the action function</li>
|
|
<li><strong>batch_size</strong> – how many items should be processed in one run in the main loop</li>
|
|
</ul>
|
|
</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#AssertionError" title="(in Python v3.4)">AssertionError</a>:</th></tr>
|
|
<tr class="field-even field"><td> </td><td class="field-body"><p class="first">if called from the main thread</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.gtk_call_once">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">gtk_call_once</tt><big>(</big><em>func</em>, <em>*args</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.gtk_call_once" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Wrapper for GLib.idle_add call that ensures the func is called
|
|
only once.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.ignoreEscape">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">ignoreEscape</tt><big>(</big><em>dlg</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.ignoreEscape" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Prevent a dialog from accepting the escape keybinding, which emits a
|
|
close signal and will cause the dialog to close with some return value
|
|
we are likely not expecting. Instead, this method will cause the
|
|
escape key to do nothing for the given GtkDialog.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.override_cell_property">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">override_cell_property</tt><big>(</big><em>tree_column</em>, <em>cell_renderer</em>, <em>propname</em>, <em>property_func</em>, <em>data=None</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.override_cell_property" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Override a single property of a cell renderer.</p>
|
|
<p>property_func takes the same arguments as GtkTreeCellDataFunc:
|
|
(TreeViewColumn, CellRenderer, TreeModel, TreeIter, data). Instead of being
|
|
expected to manipulate the CellRenderer itself, this method should instead
|
|
return the value to which the property should be set.</p>
|
|
<p>This method calls set_cell_data_func on the column and renderer.</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>column</strong> (<em>GtkTreeViewColumn</em>) – the column to override</li>
|
|
<li><strong>cell_renderer</strong> (<em>GtkCellRenderer</em>) – the cell renderer to override</li>
|
|
<li><strong>propname</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.4)"><em>str</em></a>) – the property to set on the renderer</li>
|
|
<li><strong>property_func</strong> (<em>function</em>) – a function that returns the value of the property to set</li>
|
|
<li><strong>data</strong> – Optional data to pass to property_func</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.really_hide">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">really_hide</tt><big>(</big><em>widget</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.really_hide" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Some widgets need to be both hidden, and have no_show_all set on them
|
|
to prevent them from being shown later when the screen is redrawn.
|
|
This method takes care of that.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.really_show">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">really_show</tt><big>(</big><em>widget</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.really_show" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Some widgets need to have no_show_all unset before they can also be
|
|
shown, so they are displayed later when the screen is redrawn. This
|
|
method takes care of that.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.setViewportBackground">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">setViewportBackground</tt><big>(</big><em>vp</em>, <em>color='@theme_bg_color'</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.setViewportBackground" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Set the background color of the GtkViewport vp to be the same as the
|
|
overall UI background. This should not be called for every viewport,
|
|
as that will affect things like TreeViews as well.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.set_treeview_selection">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">set_treeview_selection</tt><big>(</big><em>treeview</em>, <em>item</em>, <em>col=0</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.set_treeview_selection" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Select the given item in the given treeview and scroll to it.</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>treeview</strong> (<em>GtkTreeView</em>) – treeview to select and item in</li>
|
|
<li><strong>item</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.4)"><em>str</em></a>) – item to be selected</li>
|
|
<li><strong>col</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) – column to search for the item in</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">selected iterator or None if item was not found</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">GtkTreeIter or None</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.setup_gtk_direction">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">setup_gtk_direction</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.setup_gtk_direction" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Set the right direction (RTL/LTR) of the Gtk widget’s and their layout based
|
|
on the current language configuration.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.timed_action">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">timed_action</tt><big>(</big><em>delay=300</em>, <em>threshold=750</em>, <em>busy_cursor=True</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.timed_action" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Function returning decorator for decorating often repeated actions that need
|
|
to happen in the main loop (entry/slider change callbacks, typically), but
|
|
that may take a long time causing the GUI freeze for a noticeable time.</p>
|
|
<p>The return value of the decorator function returned by this function–i.e.,
|
|
the value of timed_action()(function_to_be_decorated)–is an instance of
|
|
the TimedAction class, which besides being callable provides a run_now
|
|
method to shortcut the timer and run the action immediately. run_now will
|
|
also be run in the main loop.</p>
|
|
<p>If timed_action is used to decorate a method of a class, the decorated
|
|
method will actually be a functools.partial instance. In this case, the
|
|
TimedAction instance is accessible as the “func” property of the decorated
|
|
method. Note that the func property will not have self applied.</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>delay</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) – number of milliseconds to wait for another invocation of the
|
|
decorated function before it is actually called</li>
|
|
<li><strong>threshold</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.4)"><em>int</em></a>) – upper bound (in milliseconds) to wait for the decorated
|
|
function to be called from the first/last time</li>
|
|
<li><strong>busy_cursor</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.4)"><em>bool</em></a>) – whether the cursor should be made busy or not in the
|
|
meantime of the decorated function being invocated from
|
|
outside and it actually being called</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.utils.unbusyCursor">
|
|
<tt class="descclassname">pyanaconda.ui.gui.utils.</tt><tt class="descname">unbusyCursor</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.utils.unbusyCursor" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.xkl_wrapper">
|
|
<span id="pyanaconda-ui-gui-xkl-wrapper-module"></span><h2>pyanaconda.ui.gui.xkl_wrapper module<a class="headerlink" href="#module-pyanaconda.ui.gui.xkl_wrapper" title="Permalink to this headline">¶</a></h2>
|
|
<p>This module include functions and classes for dealing with multiple layouts in
|
|
Anaconda. It wraps the libxklavier functionality to protect Anaconda from
|
|
dealing with its “nice” API that looks like a Lisp-influenced “good old C” and
|
|
also systemd-localed functionality.</p>
|
|
<p>It provides a XklWrapper class with several methods that can be used for listing
|
|
and various modifications of keyboard layouts settings.</p>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.LayoutInfo">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.xkl_wrapper.</tt><tt class="descname">LayoutInfo</tt><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.LayoutInfo" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">builtins.tuple</span></tt></p>
|
|
<p>LayoutInfo(lang, desc)</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.LayoutInfo.desc">
|
|
<tt class="descname">desc</tt><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.LayoutInfo.desc" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Alias for field number 1</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.LayoutInfo.lang">
|
|
<tt class="descname">lang</tt><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.LayoutInfo.lang" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Alias for field number 0</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.Xkb_">
|
|
<tt class="descclassname">pyanaconda.ui.gui.xkl_wrapper.</tt><tt class="descname">Xkb_</tt><big>(</big><em>x</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.Xkb_" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.xkl_wrapper.</tt><tt class="descname">XklWrapper</tt><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper" 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>Class wrapping the libxklavier functionality</p>
|
|
<p>Use this class as a singleton class because it provides read-only data
|
|
and initialization (that takes quite a lot of time) reads always the
|
|
same data. It doesn’t have sense to make multiple instances</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.activate_default_layout">
|
|
<tt class="descname">activate_default_layout</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.activate_default_layout" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.add_layout">
|
|
<tt class="descname">add_layout</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.add_layout" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_available_layouts">
|
|
<tt class="descname">get_available_layouts</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_available_layouts" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>A generator yielding layouts (no need to store them as a bunch)</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_current_layout">
|
|
<tt class="descname">get_current_layout</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_current_layout" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Get current activated X layout and variant</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">Returns:</th><td class="field-body">current activated X layout and variant (e.g. “cz (qwerty)”)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="staticmethod">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_instance">
|
|
<em class="property">static </em><tt class="descname">get_instance</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_instance" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_layout_variant_description">
|
|
<tt class="descname">get_layout_variant_description</tt><big>(</big><em>layout_variant</em>, <em>with_lang=True</em>, <em>xlated=True</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_layout_variant_description" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Get description of the given layout-variant.</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>layout_variant</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.4)"><em>str</em></a>) – layout-variant specification (e.g. ‘cz (qwerty)’)</li>
|
|
<li><strong>with_lang</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.4)"><em>bool</em></a>) – whether to include language of the layout-variant (if defined)
|
|
in the description or not</li>
|
|
<li><strong>xlated</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.4)"><em>bool</em></a>) – whethe to return translated or english version of the description</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">description of the layout-variant specification (e.g. ‘Czech (qwerty)’)</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">str</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_switch_opt_description">
|
|
<tt class="descname">get_switch_opt_description</tt><big>(</big><em>switch_opt</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_switch_opt_description" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Get description of the given layout switching option.</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>switch_opt</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.4)"><em>str</em></a>) – switching option name/ID (e.g. ‘grp:alt_shift_toggle’)</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">description of the layout switching option (e.g. ‘Alt + Shift’)</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.gui.xkl_wrapper.XklWrapper.get_switching_options">
|
|
<tt class="descname">get_switching_options</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.get_switching_options" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Method returning list of available layout switching options</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.is_valid_layout">
|
|
<tt class="descname">is_valid_layout</tt><big>(</big><em>layout</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.is_valid_layout" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Return if given layout is valid layout or not</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.remove_layout">
|
|
<tt class="descname">remove_layout</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.remove_layout" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.replace_layouts">
|
|
<tt class="descname">replace_layouts</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.replace_layouts" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapper.set_switching_options">
|
|
<tt class="descname">set_switching_options</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapper.set_switching_options" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="exception">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.XklWrapperError">
|
|
<em class="property">exception </em><tt class="descclassname">pyanaconda.ui.gui.xkl_wrapper.</tt><tt class="descname">XklWrapperError</tt><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.XklWrapperError" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="pyanaconda.html#pyanaconda.keyboard.KeyboardConfigError" title="pyanaconda.keyboard.KeyboardConfigError"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.keyboard.KeyboardConfigError</span></tt></a></p>
|
|
<p>Exception class for reporting libxklavier-related problems</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.xkl_wrapper.iso_">
|
|
<tt class="descclassname">pyanaconda.ui.gui.xkl_wrapper.</tt><tt class="descname">iso_</tt><big>(</big><em>x</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.xkl_wrapper.iso_" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui">
|
|
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyanaconda.ui.gui" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.</tt><tt class="descname">GraphicalUserInterface</tt><big>(</big><em>storage</em>, <em>payload</em>, <em>instclass</em>, <em>distributionText=<function distributionText at 0x7feabb997488></em>, <em>isFinal=False</em>, <em>quitDialog=<class 'pyanaconda.ui.gui.QuitDialog'></em>, <em>gui_lock=None</em>, <em>fullscreen=False</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference internal" href="pyanaconda.ui.html#pyanaconda.ui.UserInterface" title="pyanaconda.ui.UserInterface"><tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.UserInterface</span></tt></a></p>
|
|
<p>This is the standard GTK+ interface we try to steer everything to using.
|
|
It is suitable for use both directly and via VNC.</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.basemask">
|
|
<tt class="descname">basemask</tt><em class="property"> = 'pyanaconda.ui'</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.basemask" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.basepath">
|
|
<tt class="descname">basepath</tt><em class="property"> = '/builddir/anaconda/pyanaconda/ui/gui'</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.basepath" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.getActionClasses">
|
|
<tt class="descname">getActionClasses</tt><big>(</big><em>hubs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.getActionClasses" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Grab all relevant standalone spokes, add them to the passed
|
|
list of hubs and order the list according to the
|
|
relationships between hubs and standalones.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.meh_interface">
|
|
<tt class="descname">meh_interface</tt><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.meh_interface" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.path">
|
|
<tt class="descname">path</tt><em class="property"> = '/usr/lib/python3.4/site-packages/pyanaconda/ui'</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.path" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.pathlist">
|
|
<tt class="descname">pathlist</tt><em class="property"> = {'/usr/lib64/python3.4/site-packages/pyanaconda/ui', '/usr/lib/site-python/pyanaconda/ui', '/tmp/updates/pyanaconda/ui', '/builddir/anaconda/pyanaconda/ui/gui', '/usr/lib/python3.4/site-packages/pyanaconda/ui'}</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.pathlist" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.paths">
|
|
<tt class="descname">paths</tt><em class="property"> = {'spokes': [('pyanaconda.ui.gui.spokes.%s', '/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes'), ('pyanaconda.ui.gui.spokes.%s', '/usr/lib/site-python/pyanaconda/ui/gui/spokes'), ('pyanaconda.ui.gui.spokes.%s', '/tmp/updates/pyanaconda/ui/gui/spokes'), ('pyanaconda.ui.gui.spokes.%s', '/builddir/anaconda/pyanaconda/ui/gui/gui/spokes'), ('pyanaconda.ui.gui.spokes.%s', '/usr/lib/python3.4/site-packages/pyanaconda/ui/gui/spokes')], 'hubs': [('pyanaconda.ui.gui.hubs.%s', '/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/hubs'), ('pyanaconda.ui.gui.hubs.%s', '/usr/lib/site-python/pyanaconda/ui/gui/hubs'), ('pyanaconda.ui.gui.hubs.%s', '/tmp/updates/pyanaconda/ui/gui/hubs'), ('pyanaconda.ui.gui.hubs.%s', '/builddir/anaconda/pyanaconda/ui/gui/gui/hubs'), ('pyanaconda.ui.gui.hubs.%s', '/usr/lib/python3.4/site-packages/pyanaconda/ui/gui/hubs')], 'categories': [('pyanaconda.ui.categories.%s', '/usr/lib64/python3.4/site-packages/pyanaconda/ui/categories'), ('pyanaconda.ui.categories.%s', '/usr/lib/site-python/pyanaconda/ui/categories'), ('pyanaconda.ui.categories.%s', '/tmp/updates/pyanaconda/ui/categories'), ('pyanaconda.ui.categories.%s', '/builddir/anaconda/pyanaconda/ui/gui/categories'), ('pyanaconda.ui.categories.%s', '/usr/lib/python3.4/site-packages/pyanaconda/ui/categories')]}</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.paths" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.run">
|
|
<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.setup">
|
|
<tt class="descname">setup</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.setup" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.showDetailedError">
|
|
<tt class="descname">showDetailedError</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.showDetailedError" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.showError">
|
|
<tt class="descname">showError</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.showError" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.showYesNoQuestion">
|
|
<tt class="descname">showYesNoQuestion</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.showYesNoQuestion" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The new body for the decorated method. If needed, it uses closure
|
|
bound queue_instance variable which is valid until the reference to this
|
|
method is destroyed.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.sitepackages">
|
|
<tt class="descname">sitepackages</tt><em class="property"> = ['/usr/lib64/python3.4/site-packages/pyanaconda/ui', '/usr/lib/python3.4/site-packages/pyanaconda/ui', '/usr/lib/site-python/pyanaconda/ui']</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.sitepackages" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.tty_num">
|
|
<tt class="descname">tty_num</tt><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.tty_num" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.GraphicalUserInterface.updatepath">
|
|
<tt class="descname">updatepath</tt><em class="property"> = '/tmp/updates/pyanaconda/ui'</em><a class="headerlink" href="#pyanaconda.ui.gui.GraphicalUserInterface.updatepath" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.QuitDialog">
|
|
<em class="property">class </em><tt class="descclassname">pyanaconda.ui.gui.</tt><tt class="descname">QuitDialog</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.QuitDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></tt></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>
|
|
<dt>skipTo – If this attribute is set to something other than None,</dt>
|
|
<dd><p class="first">it must be the name of a class (as a string). Then,
|
|
the interface will skip to the first instance of that
|
|
class in the action list instead of going on to
|
|
whatever the next action is normally.</p>
|
|
<p class="last">Note that actions may only skip ahead, never backwards.
|
|
Also, standalone spokes may not skip to an individual
|
|
spoke off a hub. They can only skip to the hub
|
|
itself.</p>
|
|
</dd>
|
|
</dl>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.QuitDialog.MESSAGE">
|
|
<tt class="descname">MESSAGE</tt><em class="property"> = ''</em><a class="headerlink" href="#pyanaconda.ui.gui.QuitDialog.MESSAGE" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.QuitDialog.builderObjects">
|
|
<tt class="descname">builderObjects</tt><em class="property"> = ['quitDialog']</em><a class="headerlink" href="#pyanaconda.ui.gui.QuitDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.QuitDialog.mainWidgetName">
|
|
<tt class="descname">mainWidgetName</tt><em class="property"> = 'quitDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.QuitDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.QuitDialog.run">
|
|
<tt class="descname">run</tt><big>(</big><big>)</big><a class="headerlink" href="#pyanaconda.ui.gui.QuitDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.QuitDialog.uiFile">
|
|
<tt class="descname">uiFile</tt><em class="property"> = 'main.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.QuitDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
<a href="pyanaconda.ui.gui.hubs.html" class="btn btn-neutral float-right" title="pyanaconda.ui.gui.hubs package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
|
|
|
|
|
|
<a href="pyanaconda.ui.categories.html" class="btn btn-neutral" title="pyanaconda.ui.categories 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> |