doc: Update

This commit is contained in:
github-actions[bot]
2025-08-03 12:24:47 +00:00
parent aa00d3cd4d
commit 7add4cc1fd
131 changed files with 5203 additions and 282 deletions

View File

@@ -135,15 +135,15 @@ SPDX-License-Identifier: LGPL-2.1-or-later
</h4>
<div class="docblock">
<p>Get <a href="javascript:void(0)" data-namespace="Clapper" data-link="class.Player.html" class="external"><code>ClapperPlayer</code></a> used by <a href="class.Video.html"><code>ClapperGtkVideo</code></a> ancestor of <code>widget</code>.</p>
<p>Get <a href="javascript:void(0)" data-namespace="Clapper" data-link="class.Player.html" class="external"><code>ClapperPlayer</code></a> used by <a href="class.Av.html"><code>ClapperGtkAv</code></a> ancestor of <code>widget</code>.</p>
<p>This utility is a convenience wrapper for calling <a href="javascript:void(0)" data-namespace="Gtk" data-link="method.Widget.get_ancestor.html" class="external"><code>gtk_widget_get_ancestor()</code></a>
of type <code>CLAPPER_GTK_TYPE_VIDEO</code> and <a href="method.Video.get_player.html"><code>clapper_gtk_video_get_player()</code></a> with
of type <code>CLAPPER_GTK_TYPE_AV</code> and <a href="method.Av.get_player.html"><code>clapper_gtk_av_get_player()</code></a> with
additional <code>NULL</code> checking and type&nbsp;casting.</p>
<p>This is meant to be used mainly for custom widget development as an easy access to the
underlying parent <a href="javascript:void(0)" data-namespace="Clapper" data-link="class.Player.html" class="external"><code>ClapperPlayer</code></a> object. If you want to get the player from
<a href="class.Video.html"><code>ClapperGtkVideo</code></a> widget itself, use <a href="method.Video.get_player.html"><code>clapper_gtk_video_get_player()</code></a>&nbsp;instead.</p>
<a href="class.Av.html"><code>ClapperGtkAv</code></a> widget itself, use <a href="method.Av.get_player.html"><code>clapper_gtk_av_get_player()</code></a>&nbsp;instead.</p>
<p>Rememeber that this function will return <code>NULL</code> when widget does not have
a <a href="class.Video.html"><code>ClapperGtkVideo</code></a> ancestor in widget hierarchy (widget is not yet&nbsp;placed).</p>
a <a href="class.Av.html"><code>ClapperGtkAv</code></a> ancestor in widget hierarchy (widget is not yet&nbsp;placed).</p>
</div>
<div class="docblock">