Files
clapper/doc/clapper-gtk/migrating-to-010.html
github-actions[bot] f0aad34e5b doc: Update
2025-08-08 17:14:02 +00:00

148 lines
4.6 KiB
HTML

<!--
SPDX-FileCopyrightText: Rafał Dzięgiel
SPDX-License-Identifier: LGPL-2.1-or-later
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>ClapperGtk &ndash; 0.0: Migrating to ClapperGtk 0.10</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta property="og:type" content="website"/>
<meta property="og:image:width" content="256"/>
<meta property="og:image:height" content="256"/>
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
<meta property="og:image:alt" content="ClapperGtk-0.0"/>
<meta property="og:title" content="ClapperGtk: Migrating to ClapperGtk 0.10"/>
<meta property="og:description" content="Reference for ClapperGtk-0.0: Migrating to ClapperGtk 0.10"/>
<meta name="twitter:title" content="ClapperGtk: Migrating to ClapperGtk 0.10"/>
<meta name="twitter:description" content="Reference for ClapperGtk-0.0: Migrating to ClapperGtk 0.10"/>
<meta name="twitter:card" content="summary"/>
<link rel="search" type="application/opensearchdescription+xml" title="ClapperGtk" href="opensearch.xml">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="urlmap.js"></script>
<script src="fzy.js"></script>
<script src="search.js"></script>
<script src="main.js"></script>
</head>
<body>
<div id="body-wrapper" tabindex="-1">
<nav class="sidebar devhelp-hidden">
<div class="section">
<a href="index.html"><img src="clapper-logo.svg" class="logo"/></a>
</div>
<div class="search section">
<form id="search-form" autocomplete="off">
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
</form>
</div>
<div class="section namespace">
<h3><a href="index.html">ClapperGtk</a></h3>
<p>API Version: 0.0</p>
<p>Library Version: 0.9.1</p>
</div>
<div class="section generator">
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.4</p>
</div>
</nav>
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
<section id="main" class="content">
<h4 id="title" style="display:flex;">
Migrating to ClapperGtk 0.10
<a href="#title" class="anchor"></a>
</h4>
<section>
<div class="docblock">
<h3 id="av-widget">AV widget<a class="md-anchor" href="#av-widget" title="Permanent link"></a></h3>
<p>Code of <a href="class.Video.html"><code>ClapperGtkVideo</code></a> was split into a base class <a href="class.Av.html"><code>ClapperGtkAv</code></a> from which
<a href="class.Video.html"><code>ClapperGtkVideo</code></a> and newly added <a href="class.Audio.html"><code>ClapperGtkAudio</code></a> widgets are&nbsp;made.</p>
<p>This code split implies following&nbsp;changes:</p>
<ul>
<li>Properties <code>auto-inhibit</code>, <code>inhibited</code> and <code>player</code> were moved into <span class="caps">AV</span> base class, since these
are usually used without explicit need to specify object class they belong to, this change should
not affect most&nbsp;use-cases.</li>
<li>Methods to get above properties are now in <span class="caps">AV</span>, but also left in video widget for compatibility&nbsp;purposes.</li>
<li>Built-in widget actions starting with <code>video.</code> prefix are deprecated (also left for compatibility).
Implementations that used them are encouraged to use <code>av.</code> actions now. All actions from video widget were
ported to <span class="caps">AV</span> widget as they were, so updating your app should be as easy as changing this action&nbsp;prefix.</li>
</ul>
<h3 id="other-info">Other Info<a class="md-anchor" href="#other-info" title="Permanent link"></a></h3>
<p>Above describes changes to <span class="caps">GTK</span> integration library, for the playback library
check out <a href="../clapper/migrating-to-010.html">other migration guide</a>.</p>
</div>
</section>
</section>
<div id="toc" class="toc">
<nav aria-labelledby="toc-title">
<p id="toc-title">Content</p>
<ul class="toc-list">
<li class="toc-list-item"><a href="#av-widget"><span class="link-text">AV widget</span></a></li>
<li class="toc-list-item"><a href="#other-info"><span class="link-text">Other Info</span></a></li>
</ul>
</nav>
</div>
<section id="search" class="content hidden"></section>
<footer>
</footer>
</div>
</body>
</html>