This commit is contained in:
staticssleever668
2022-12-26 20:55:59 +00:00
parent 6a5b29f03f
commit 5284d08c3e
7 changed files with 6 additions and 30 deletions

View File

@@ -679,15 +679,15 @@ the default resolution.</p>
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Type:</th><td class="field-body">b</td>
</tr>
<tr class="field-even field"><th class="field-name">Flags:</th><td class="field-body">read-only, mutable</td>
<tr class="field-even field"><th class="field-name">Flags:</th><td class="field-body">read-write, mutable</td>
</tr>
</tbody>
</table>
<p>True if this resolution is disabled, false otherwise.
If the device does not have the disabled resolution
capability, this property is always false.</p>
<p>This property is read-only, use the <a class="reference internal" href="#SetDisabled" title="SetDisabled"><code class="xref py py-func docutils literal notranslate"><span class="pre">SetDisabled()</span></code></a>
or <a class="reference internal" href="#SetEnabled" title="SetEnabled"><code class="xref py py-func docutils literal notranslate"><span class="pre">SetEnabled()</span></code></a> method to set a resolution as
<p>This property is read-only, use the <code class="xref py py-func docutils literal notranslate"><span class="pre">SetDisabled()</span></code>
or <code class="xref py py-func docutils literal notranslate"><span class="pre">SetEnabled()</span></code> method to set a resolution as
disabled or enabled .</p>
</dd></dl>
@@ -747,18 +747,6 @@ writing to resolutions.</p>
<dd><p>Set this resolution to be the default</p>
</dd></dl>
<dl class="function">
<dt id="SetDisabled">
<code class="descname">SetDisabled</code><span class="sig-paren">(</span><em>) → (</em><span class="sig-paren">)</span><a class="headerlink" href="#SetDisabled" title="Permalink to this definition"></a></dt>
<dd><p>Set this resolution to be disabled</p>
</dd></dl>
<dl class="function">
<dt id="SetEnabled">
<code class="descname">SetEnabled</code><span class="sig-paren">(</span><em>) → (</em><span class="sig-paren">)</span><a class="headerlink" href="#SetEnabled" title="Permalink to this definition"></a></dt>
<dd><p>Set this resolution to be enabled</p>
</dd></dl>
</div>
<div class="section" id="org-freedesktop-ratbag1-button">
<span id="button"></span><h2>org.freedesktop.ratbag1.Button<a class="headerlink" href="#org-freedesktop-ratbag1-button" title="Permalink to this headline"></a></h2>