mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
doc: Update
This commit is contained in:
@@ -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 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> 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> 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 placed).</p>
|
||||
a <a href="class.Av.html"><code>ClapperGtkAv</code></a> ancestor in widget hierarchy (widget is not yet placed).</p>
|
||||
</div>
|
||||
|
||||
<div class="docblock">
|
||||
|
Reference in New Issue
Block a user