6bc5671491
Apply: git diff --full-index --binary anaconda-23.19.10-1..anaconda-25.20.9-1 And resolve conflicts. QubesOS/qubes-issues#2574
1304 lines
91 KiB
HTML
Executable File
1304 lines
91 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.spokes.lib package — Anaconda 25.14 documentation</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="top" title="Anaconda 25.14 documentation" href="index.html"/>
|
|
<link rel="up" title="pyanaconda.ui.gui.spokes package" href="pyanaconda.ui.gui.spokes.html"/>
|
|
<link rel="next" title="pyanaconda.ui.lib package" href="pyanaconda.ui.lib.html"/>
|
|
<link rel="prev" title="pyanaconda.ui.gui.spokes.advstorage package" href="pyanaconda.ui.gui.spokes.advstorage.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-scroll">
|
|
<div class="wy-side-nav-search">
|
|
|
|
|
|
|
|
<a href="index.html" class="icon icon-home"> Anaconda
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="version">
|
|
25.14
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<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="release.html">Building a Release</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="boot-options.html">Anaconda Boot Options</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="kickstart.html">Anaconda Kickstart Documentation</a></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></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="iscsi.html">iSCSI and Anaconda</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="multipath.html">Multipath and Anaconda</a></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.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.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.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.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>
|
|
<li class="toctree-l1"><a class="reference internal" href="testing.html">Testing</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="tests/modules.html">tests</a></li>
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
</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><a href="pyanaconda.ui.gui.html">pyanaconda.ui.gui package</a> »</li>
|
|
|
|
<li><a href="pyanaconda.ui.gui.spokes.html">pyanaconda.ui.gui.spokes package</a> »</li>
|
|
|
|
<li>pyanaconda.ui.gui.spokes.lib package</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
<a href="_sources/pyanaconda.ui.gui.spokes.lib.txt" rel="nofollow"> View page source</a>
|
|
|
|
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<div class="section" id="pyanaconda-ui-gui-spokes-lib-package">
|
|
<h1>pyanaconda.ui.gui.spokes.lib package<a class="headerlink" href="#pyanaconda-ui-gui-spokes-lib-package" title="Permalink to this headline">¶</a></h1>
|
|
<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.spokes.lib.accordion">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-accordion-module"></span><h2>pyanaconda.ui.gui.spokes.lib.accordion module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.accordion" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.new_selector_from_device">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.accordion.</code><code class="descname">new_selector_from_device</code><span class="sig-paren">(</span><em>device</em>, <em>mountpoint=''</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.new_selector_from_device" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.update_selector_from_device">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.accordion.</code><code class="descname">update_selector_from_device</code><span class="sig-paren">(</span><em>selector</em>, <em>device</em>, <em>mountpoint=''</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.update_selector_from_device" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Create a MountpointSelector from a Device object template. This
|
|
method should be used whenever constructing a new selector, or when
|
|
setting a bunch of attributes on an existing selector. For just
|
|
changing the name or size, it’s probably fine to do it by hand.</p>
|
|
<p>This method returns the selector created.</p>
|
|
<p>If given a selector parameter, attributes will be set on that object
|
|
instead of creating a new one. The optional mountpoint parameter
|
|
allows for specifying the mountpoint if it cannot be determined from
|
|
the device (like for a Root specifying an existing installation).</p>
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.accordion.</code><code class="descname">Accordion</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">gi.overrides.Gtk.Box</span></code></p>
|
|
<p>An Accordion is a box that goes on the left side of the custom partitioning spoke.
|
|
It stores multiple expanders which are here called Pages. These Pages correspond to
|
|
individual installed OSes on the system plus some special ones. When one Page is
|
|
expanded, all others are collapsed.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.add_page">
|
|
<code class="descname">add_page</code><span class="sig-paren">(</span><em>contents</em>, <em>cb</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.add_page" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.all_members">
|
|
<code class="descname">all_members</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.all_members" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.all_pages">
|
|
<code class="descname">all_pages</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.all_pages" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.all_selectors">
|
|
<code class="descname">all_selectors</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.all_selectors" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.append_selection">
|
|
<code class="descname">append_selection</code><span class="sig-paren">(</span><em>selectors</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.append_selection" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Append new selectors to the actual selection. This takes
|
|
list of selectors.
|
|
If more than 1 item is selected remove the <code class="docutils literal"><span class="pre">current_selector</span></code>.
|
|
No current selection is allowed in multiselection.</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>selectors</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.5)"><em>list</em></a>) – List of selectors which will be</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>appended to current selection.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.clear_current_selector">
|
|
<code class="descname">clear_current_selector</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.clear_current_selector" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>If current selector is selected, deselect it</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.current_page">
|
|
<code class="descname">current_page</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.current_page" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The current page is really a function of the current selector.
|
|
Whatever selector on the LHS is selected, the current page is the
|
|
page containing that selector.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.current_selector">
|
|
<code class="descname">current_selector</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.current_selector" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.expand_page">
|
|
<code class="descname">expand_page</code><span class="sig-paren">(</span><em>pageTitle</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.expand_page" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.find_page_by_title">
|
|
<code class="descname">find_page_by_title</code><span class="sig-paren">(</span><em>title</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.find_page_by_title" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.is_current_selected">
|
|
<code class="descname">is_current_selected</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.is_current_selected" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.is_multiselection">
|
|
<code class="descname">is_multiselection</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.is_multiselection" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.page_for_selector">
|
|
<code class="descname">page_for_selector</code><span class="sig-paren">(</span><em>selector</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.page_for_selector" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Return page for given selector.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.process_event">
|
|
<code class="descname">process_event</code><span class="sig-paren">(</span><em>selector</em>, <em>event</em>, <em>cb</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.process_event" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Process events from selectors and select items as result.
|
|
Call cb after selection is done with old selector and new selector
|
|
as arguments.</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>selector</strong> – Clicked selector</li>
|
|
<li><strong>event</strong> – Gtk event object</li>
|
|
<li><strong>cb</strong> – Callback which will be called after selection is done.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>This callback is setup in <code class="xref py py-meth docutils literal"><span class="pre">Page.add_selector()</span></code> method.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.remove_all_pages">
|
|
<code class="descname">remove_all_pages</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.remove_all_pages" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.remove_page">
|
|
<code class="descname">remove_page</code><span class="sig-paren">(</span><em>pageTitle</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.remove_page" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.remove_selection">
|
|
<code class="descname">remove_selection</code><span class="sig-paren">(</span><em>selectors</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.remove_selection" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Remove <a href="#id1"><span class="problematic" id="id2">:param:`selectors`</span></a> from current selection. If only
|
|
one item is selected after this operation it’s set as
|
|
<code class="docutils literal"><span class="pre">current_selector</span></code>.
|
|
Items which are not selected are ignored.</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>selectors</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#list" title="(in Python v3.5)"><em>list</em></a>) – List of selectors which will be</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>removed from current selection.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.select">
|
|
<code class="descname">select</code><span class="sig-paren">(</span><em>selector</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.select" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Select one item. Remove selection from all other items
|
|
and clear <code class="docutils literal"><span class="pre">current_selector</span></code> if set. Add new selector and
|
|
append it to selected items. Also select the new item.</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>selector</strong> – Selector which we want to select.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.selected_items">
|
|
<code class="descname">selected_items</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.selected_items" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Accordion.unselect">
|
|
<code class="descname">unselect</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Accordion.unselect" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Unselect all items and clear current_selector.</p>
|
|
</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.Page">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.accordion.</code><code class="descname">Page</code><span class="sig-paren">(</span><em>title</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.Page" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.spokes.lib.accordion.BasePage</span></code></p>
|
|
<p>A Page is a box that is stored in an Accordion. It breaks down all the filesystems that
|
|
comprise a single installed OS into two categories - Data filesystems and System filesystems.
|
|
Each filesystem is described by a single MountpointSelector.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.UnknownPage">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.accordion.</code><code class="descname">UnknownPage</code><span class="sig-paren">(</span><em>title</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.UnknownPage" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.spokes.lib.accordion.BasePage</span></code></p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.UnknownPage.add_selector">
|
|
<code class="descname">add_selector</code><span class="sig-paren">(</span><em>device</em>, <em>cb</em>, <em>mountpoint=''</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.UnknownPage.add_selector" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.UnknownPage.remove_selector">
|
|
<code class="descname">remove_selector</code><span class="sig-paren">(</span><em>selector</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.UnknownPage.remove_selector" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.accordion.CreateNewPage">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.accordion.</code><code class="descname">CreateNewPage</code><span class="sig-paren">(</span><em>title</em>, <em>createClickedCB</em>, <em>autopartTypeChangedCB</em>, <em>partitionsToReuse=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.accordion.CreateNewPage" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.spokes.lib.accordion.BasePage</span></code></p>
|
|
<p>This is a special Page that is displayed when no new installation
|
|
has been automatically created, and shows the user how to go about
|
|
doing that. The intention is that an instance of this class will be
|
|
packed into the Accordion first and then when the new installation
|
|
is created, it will be removed and replaced with a Page for it.</p>
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.cart">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-cart-module"></span><h2>pyanaconda.ui.gui.spokes.lib.cart module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.cart" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.cart.</code><code class="descname">SelectedDisksDialog</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['selected_disks_dialog', 'disk_store', 'disk_tree_view']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.initialize">
|
|
<code class="descname">initialize</code><span class="sig-paren">(</span><em>disks</em>, <em>free</em>, <em>showRemove=True</em>, <em>setBoot=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.initialize" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'selected_disks_dialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_close_clicked">
|
|
<code class="descname">on_close_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_close_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_remove_clicked">
|
|
<code class="descname">on_remove_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_remove_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_selection_changed">
|
|
<code class="descname">on_selection_changed</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_selection_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_set_as_boot_clicked">
|
|
<code class="descname">on_set_as_boot_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.on_set_as_boot_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><em>disks</em>, <em>free</em>, <em>showRemove=True</em>, <em>setBoot=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/cart.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.cart.SelectedDisksDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.custom_storage_helpers">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-custom-storage-helpers-module"></span><h2>pyanaconda.ui.gui.spokes.lib.custom_storage_helpers module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.custom_storage_helpers" title="Permalink to this headline">¶</a></h2>
|
|
<p>Helper functions and classes for custom partitioning.</p>
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.size_from_entry">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">size_from_entry</code><span class="sig-paren">(</span><em>entry</em>, <em>lower_bound=None</em>, <em>units=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.size_from_entry" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Get a Size object from an entry field.</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>lower_bound</strong> (<code class="xref py py-class docutils literal"><span class="pre">blivet.size.Size</span></code> or NoneType) – lower bound for size returned,</li>
|
|
<li><strong>units</strong> (<em>str or NoneType</em>) – units to use if none obtained from entry</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">a Size object corresponding to the text in the entry field</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><code class="xref py py-class docutils literal"><span class="pre">blivet.size.Size</span></code> or NoneType</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>Units default to bytes if no units specified in entry or units.</p>
|
|
<p>Rounds up to lower_bound, if value in entry field corresponds
|
|
to a smaller value. The default for lower_bound is None, yielding
|
|
no rounding.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.populate_mountpoint_store">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">populate_mountpoint_store</code><span class="sig-paren">(</span><em>store</em>, <em>used_mountpoints</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.populate_mountpoint_store" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.validate_label">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">validate_label</code><span class="sig-paren">(</span><em>label</em>, <em>fmt</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.validate_label" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns a code indicating either that the given label can be set for
|
|
this filesystem or the reason why it cannot.</p>
|
|
<p>In the case where the format cannot assign a label, the empty string
|
|
stands for accept the default, but in the case where the format can
|
|
assign a label the empty string represents itself.</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>label</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) – The label</li>
|
|
<li><strong>fmt</strong> (<em>DeviceFormat</em>) – The device format to label</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.validate_mountpoint">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">validate_mountpoint</code><span class="sig-paren">(</span><em>mountpoint</em>, <em>used_mountpoints</em>, <em>strict=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.validate_mountpoint" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.get_raid_level">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">get_raid_level</code><span class="sig-paren">(</span><em>device</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.get_raid_level" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.selectedRaidLevel">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">selectedRaidLevel</code><span class="sig-paren">(</span><em>raidLevelCombo</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.selectedRaidLevel" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Interpret the selection of a RAID level combo box.</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">the selected raid level, None if none selected</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body">instance of blivet.devicelibs.raid.RaidLevel or NoneType</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.raidLevelSelection">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">raidLevelSelection</code><span class="sig-paren">(</span><em>raid_level</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.raidLevelSelection" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns a string corresponding to the RAID level.</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>raid_level</strong> (<em>instance of blivet.devicelibs.raid.RAID or None</em>) – a raid level</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a string corresponding to this raid level</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)">str</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.defaultRaidLevel">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">defaultRaidLevel</code><span class="sig-paren">(</span><em>device_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.defaultRaidLevel" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns the default RAID level for this device type.</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>device_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.5)"><em>int</em></a>) – an int representing the device_type</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the default RAID level for this device type or None</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">blivet.devicelibs.raid.RAIDLevel or NoneType</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.requiresRaidSelection">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">requiresRaidSelection</code><span class="sig-paren">(</span><em>device_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.requiresRaidSelection" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Whether GUI requires a RAID level be selected for this device type.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.defaultContainerRaidLevel">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">defaultContainerRaidLevel</code><span class="sig-paren">(</span><em>device_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.defaultContainerRaidLevel" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Returns the default RAID level for this device type’s container type.</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>device_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.5)"><em>int</em></a>) – an int representing the device_type</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the default RAID level for this device type’s container or None</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">blivet.devicelibs.raid.RAIDLevel or NoneType</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.containerRaidLevelsSupported">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">containerRaidLevelsSupported</code><span class="sig-paren">(</span><em>device_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.containerRaidLevelsSupported" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The raid levels anaconda supports for a container for this
|
|
device_type.</p>
|
|
<p>For LVM, anaconda supports LVM on RAID, but also allows no RAID.</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>device_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.5)"><em>int</em></a>) – one of an enumeration of device types</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a set of supported raid levels</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">a set of instances of blivet.devicelibs.raid.RAIDLevel</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.raidLevelsSupported">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">raidLevelsSupported</code><span class="sig-paren">(</span><em>device_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.raidLevelsSupported" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The raid levels anaconda supports for this device type.</p>
|
|
<p>It supports any RAID levels that it expects to support and that blivet
|
|
supports for the given device type.</p>
|
|
<p>Since anaconda only ever allows the user to choose RAID levels for
|
|
device type DEVICE_TYPE_MD, hiding the RAID menu for all other device
|
|
types, the function only returns a non-empty set for this device type.
|
|
If this changes, then so should this function, but at this time it
|
|
is not clear what RAID levels should be offered for other device types.</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>device_type</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.5)"><em>int</em></a>) – one of an enumeration of device types</td>
|
|
</tr>
|
|
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">a set of supported raid levels</td>
|
|
</tr>
|
|
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">a set of instances of blivet.devicelibs.raid.RAIDLevel</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.get_container_type">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">get_container_type</code><span class="sig-paren">(</span><em>device_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.get_container_type" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">AddDialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.MIN_SIZE_ENTRY">
|
|
<code class="descname">MIN_SIZE_ENTRY</code><em class="property"> = Size (1024 KiB)</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.MIN_SIZE_ENTRY" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['addDialog', 'mountPointStore', 'mountPointCompletion', 'mountPointEntryBuffer']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'addDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.on_add_confirm_clicked">
|
|
<code class="descname">on_add_confirm_clicked</code><span class="sig-paren">(</span><em>button</em>, <em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.on_add_confirm_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/custom_storage_helpers.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.AddDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">ConfirmDeleteDialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['confirmDeleteDialog']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'confirmDeleteDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.on_delete_confirm_clicked">
|
|
<code class="descname">on_delete_confirm_clicked</code><span class="sig-paren">(</span><em>button</em>, <em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.on_delete_confirm_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.option_checked">
|
|
<code class="descname">option_checked</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.option_checked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><em>mountpoint</em>, <em>device</em>, <em>checkbox_text=''</em>, <em>snapshots=False</em>, <em>bootpart=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Show confirmation dialog with the optional checkbox. If the
|
|
<cite>checkbox_text</cite> for the checkbox is not set then the checkbox
|
|
will not be showed.</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>mountpoint</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) – Mountpoint for device.</li>
|
|
<li><strong>device</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) – Name of the device.</li>
|
|
<li><strong>checkbox_text</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.5)"><em>str</em></a>) – Text for checkbox. If nothing set do
|
|
not display the checkbox.</li>
|
|
<li><strong>snapshot</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.5)"><em>bool</em></a>) – If true warn user he’s going to delete snapshots too.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/custom_storage_helpers.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ConfirmDeleteDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">DisksDialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['disks_dialog', 'disk_store', 'disk_view']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'disks_dialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.on_cancel_clicked">
|
|
<code class="descname">on_cancel_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.on_cancel_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.on_select_clicked">
|
|
<code class="descname">on_select_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.on_select_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/custom_storage_helpers.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.DisksDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.</code><code class="descname">ContainerDialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code>, <a class="reference internal" href="pyanaconda.ui.gui.html#pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler" title="pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.helpers.GUIDialogInputCheckHandler</span></code></a></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.MIN_SIZE_ENTRY">
|
|
<code class="descname">MIN_SIZE_ENTRY</code><em class="property"> = Size (1024 KiB)</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.MIN_SIZE_ENTRY" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['container_dialog', 'disk_store', 'container_disk_view', 'containerRaidStoreFiltered', 'containerRaidLevelLabel', 'containerRaidLevelCombo', 'raidLevelStore', 'containerSizeCombo', 'containerSizeEntry', 'containerSizeLabel', 'containerEncryptedCheckbox']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'container_dialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.on_size_changed">
|
|
<code class="descname">on_size_changed</code><span class="sig-paren">(</span><em>combo</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.on_size_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/custom_storage_helpers.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.custom_storage_helpers.ContainerDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.dasdfmt">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-dasdfmt-module"></span><h2>pyanaconda.ui.gui.spokes.lib.dasdfmt module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.dasdfmt" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.dasdfmt.</code><code class="descname">DasdFormatDialog</code><span class="sig-paren">(</span><em>data</em>, <em>storage</em>, <em>to_format</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['unformattedDasdDialog']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'unformattedDasdDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.on_format_clicked">
|
|
<code class="descname">on_format_clicked</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.on_format_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Once the format button is clicked, the option to cancel expires.
|
|
We also need to display the spinner showing activity.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.return_to_hub_link_clicked">
|
|
<code class="descname">return_to_hub_link_clicked</code><span class="sig-paren">(</span><em>label</em>, <em>uri</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.return_to_hub_link_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>The user clicked on the link that takes them back to the hub. We need
|
|
to kill the _check_format watcher and then emit a special response ID
|
|
indicating the user did not press OK.</p>
|
|
<p>NOTE: There is no button with response_id=2.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.run_dasdfmt">
|
|
<code class="descname">run_dasdfmt</code><span class="sig-paren">(</span><em>epoch_started</em>, <em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.run_dasdfmt" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Loop through our disks and run dasdfmt against them.</p>
|
|
</dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/dasdfmt.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.update_dialog">
|
|
<code class="descname">update_dialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.dasdfmt.DasdFormatDialog.update_dialog" 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>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.detailederror">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-detailederror-module"></span><h2>pyanaconda.ui.gui.spokes.lib.detailederror module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.detailederror" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.detailederror.</code><code class="descname">DetailedErrorDialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<p>This class provides a lightboxable dialog to display a very detailed
|
|
set of error messages, like might be required to display the results
|
|
of package dependency solving or storage sanity checking.</p>
|
|
<p>If no buttons are provided, this dialog will have only a single button:
|
|
cancel, with a response ID of 0. Otherwise, the kwarg named “buttons”
|
|
should be a list of translated labels. Each will have an incrementing
|
|
response ID starting with 0, and any Quit button will be placed on the
|
|
far left hand side of the dialog. It’s up to the caller of the “run”
|
|
method to do something with the returned response ID.</p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['detailedErrorDialog', 'detailedTextBuffer']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'detailedErrorDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><em>msg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/detailederror.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.detailederror.DetailedErrorDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.entropy_dialog">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-entropy-dialog-module"></span><h2>pyanaconda.ui.gui.spokes.lib.entropy_dialog module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.entropy_dialog" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="function">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.entropy_dialog.run_entropy_dialog">
|
|
<code class="descclassname">pyanaconda.ui.gui.spokes.lib.entropy_dialog.</code><code class="descname">run_entropy_dialog</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.entropy_dialog.run_entropy_dialog" 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>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.lang_locale_handler">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-lang-locale-handler-module"></span><h2>pyanaconda.ui.gui.spokes.lib.lang_locale_handler module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.lang_locale_handler" title="Permalink to this headline">¶</a></h2>
|
|
<p>Module providing the LangLocaleHandler class that could be used as a mixin for
|
|
screens handling languages or locales configuration.</p>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.lang_locale_handler.</code><code class="descname">LangLocaleHandler</code><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/3/library/functions.html#object" title="(in Python v3.5)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
|
|
<p>Class that could be used as a mixin for screens handling languages or
|
|
locales configuration.</p>
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.initialize">
|
|
<code class="descname">initialize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.initialize" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.on_clear_icon_clicked">
|
|
<code class="descname">on_clear_icon_clicked</code><span class="sig-paren">(</span><em>entry</em>, <em>icon_pos</em>, <em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.on_clear_icon_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.on_entry_changed">
|
|
<code class="descname">on_entry_changed</code><em class="property"> = functools.partial(<pyanaconda.ui.gui.utils.timed_action.<locals>.TimedAction object at 0x7fd4da64d438>, None)</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.on_entry_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.on_lang_selection_changed">
|
|
<code class="descname">on_lang_selection_changed</code><span class="sig-paren">(</span><em>selection</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.lang_locale_handler.LangLocaleHandler.on_lang_selection_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.passphrase">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-passphrase-module"></span><h2>pyanaconda.ui.gui.spokes.lib.passphrase module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.passphrase" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.passphrase.</code><code class="descname">PassphraseDialog</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code>, <a class="reference internal" href="pyanaconda.ui.gui.html#pyanaconda.ui.gui.helpers.GUIInputCheckHandler" title="pyanaconda.ui.gui.helpers.GUIInputCheckHandler"><code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.helpers.GUIInputCheckHandler</span></code></a></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['passphrase_dialog']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'passphrase_dialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.on_confirm_changed">
|
|
<code class="descname">on_confirm_changed</code><span class="sig-paren">(</span><em>entry</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.on_confirm_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.on_entry_activated">
|
|
<code class="descname">on_entry_activated</code><span class="sig-paren">(</span><em>entry</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.on_entry_activated" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.on_passphrase_changed">
|
|
<code class="descname">on_passphrase_changed</code><span class="sig-paren">(</span><em>entry</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.on_passphrase_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.set_status">
|
|
<code class="descname">set_status</code><span class="sig-paren">(</span><em>inputcheck</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.set_status" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/passphrase.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.passphrase.PassphraseDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.refresh">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-refresh-module"></span><h2>pyanaconda.ui.gui.spokes.lib.refresh module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.refresh" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.refresh.</code><code class="descname">RefreshDialog</code><span class="sig-paren">(</span><em>data</em>, <em>storage</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['refreshDialog']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'refreshDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.on_rescan_clicked">
|
|
<code class="descname">on_rescan_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.on_rescan_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.return_to_hub_link_clicked">
|
|
<code class="descname">return_to_hub_link_clicked</code><span class="sig-paren">(</span><em>label</em>, <em>uri</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.return_to_hub_link_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/refresh.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.refresh.RefreshDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.resize">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-resize-module"></span><h2>pyanaconda.ui.gui.spokes.lib.resize module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.resize" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.resize.</code><code class="descname">ResizeDialog</code><span class="sig-paren">(</span><em>data</em>, <em>storage</em>, <em>payload</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['actionStore', 'diskStore', 'resizeDialog', 'resizeAdjustment']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'resizeDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_delete_all_clicked">
|
|
<code class="descname">on_delete_all_clicked</code><span class="sig-paren">(</span><em>button</em>, <em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_delete_all_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_delete_clicked">
|
|
<code class="descname">on_delete_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_delete_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_key_pressed">
|
|
<code class="descname">on_key_pressed</code><span class="sig-paren">(</span><em>window</em>, <em>event</em>, <em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_key_pressed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_preserve_clicked">
|
|
<code class="descname">on_preserve_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_preserve_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_resize_clicked">
|
|
<code class="descname">on_resize_clicked</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_resize_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_resize_value_changed">
|
|
<code class="descname">on_resize_value_changed</code><em class="property"> = functools.partial(<pyanaconda.ui.gui.utils.timed_action.<locals>.TimedAction object at 0x7fd4d8ec67f0>, None)</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_resize_value_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_row_clicked">
|
|
<code class="descname">on_row_clicked</code><span class="sig-paren">(</span><em>view</em>, <em>path</em>, <em>column</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_row_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_selection_changed">
|
|
<code class="descname">on_selection_changed</code><span class="sig-paren">(</span><em>selection</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_selection_changed" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_shrink_clicked">
|
|
<code class="descname">on_shrink_clicked</code><span class="sig-paren">(</span><em>button</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.on_shrink_clicked" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.populate">
|
|
<code class="descname">populate</code><span class="sig-paren">(</span><em>disks</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.populate" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><em>disks</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.resize_slider_format">
|
|
<code class="descname">resize_slider_format</code><span class="sig-paren">(</span><em>scale</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.resize_slider_format" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/resize.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.resize.ResizeDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib.summary">
|
|
<span id="pyanaconda-ui-gui-spokes-lib-summary-module"></span><h2>pyanaconda.ui.gui.spokes.lib.summary module<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib.summary" title="Permalink to this headline">¶</a></h2>
|
|
<dl class="class">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog">
|
|
<em class="property">class </em><code class="descclassname">pyanaconda.ui.gui.spokes.lib.summary.</code><code class="descname">ActionSummaryDialog</code><span class="sig-paren">(</span><em>data</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyanaconda.ui.gui.GUIObject</span></code></p>
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.builderObjects">
|
|
<code class="descname">builderObjects</code><em class="property"> = ['actionStore', 'summaryDialog']</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.builderObjects" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.initialize">
|
|
<code class="descname">initialize</code><span class="sig-paren">(</span><em>actions</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.initialize" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.mainWidgetName">
|
|
<code class="descname">mainWidgetName</code><em class="property"> = 'summaryDialog'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.mainWidgetName" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.refresh">
|
|
<code class="descname">refresh</code><span class="sig-paren">(</span><em>actions</em><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.refresh" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.run">
|
|
<code class="descname">run</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.run" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
<dl class="attribute">
|
|
<dt id="pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.uiFile">
|
|
<code class="descname">uiFile</code><em class="property"> = 'spokes/lib/summary.glade'</em><a class="headerlink" href="#pyanaconda.ui.gui.spokes.lib.summary.ActionSummaryDialog.uiFile" title="Permalink to this definition">¶</a></dt>
|
|
<dd></dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
<div class="section" id="module-pyanaconda.ui.gui.spokes.lib">
|
|
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyanaconda.ui.gui.spokes.lib" title="Permalink to this headline">¶</a></h2>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
<a href="pyanaconda.ui.lib.html" class="btn btn-neutral float-right" title="pyanaconda.ui.lib package" accesskey="n">Next <span class="fa fa-arrow-circle-right"></span></a>
|
|
|
|
|
|
<a href="pyanaconda.ui.gui.spokes.advstorage.html" class="btn btn-neutral" title="pyanaconda.ui.gui.spokes.advstorage 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:'25.14',
|
|
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> |