1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TotemCellRendererVideo</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Totem Reference Manual">
<link rel="up" href="widget-api.html" title="Widgets">
<link rel="prev" href="TotemVideoList.html" title="TotemVideoList">
<link rel="next" href="api-index-full.html" title="Index of all symbols">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="tutorials.html" title="Tutorials">
<link rel="chapter" href="core-api.html" title="Core API">
<link rel="chapter" href="widget-api.html" title="Widgets">
<link rel="index" href="api-index-full.html" title="Index of all symbols">
<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="TotemVideoList.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="widget-api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Totem Reference Manual</th>
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#TotemCellRendererVideo.synopsis" class="shortcut">Top</a>
|
<a href="#TotemCellRendererVideo.description" class="shortcut">Description</a>
|
<a href="#TotemCellRendererVideo.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#TotemCellRendererVideo.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="TotemCellRendererVideo">
<a name="TotemCellRendererVideo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="TotemCellRendererVideo.top_of_page"></a>TotemCellRendererVideo</span></h2>
<p>TotemCellRendererVideo — a <a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
><span class="type">GtkCellRenderer</span></a> widget for listing videos</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="TotemCellRendererVideo.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="TotemCellRendererVideo.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <totem-cell-renderer-video.h>
<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo-struct" title="TotemCellRendererVideo">TotemCellRendererVideo</a>;
<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideoClass" title="TotemCellRendererVideoClass">TotemCellRendererVideoClass</a>;
<a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo">TotemCellRendererVideo</a> * <a class="link" href="TotemCellRendererVideo.html#totem-cell-renderer-video-new" title="totem_cell_renderer_video_new ()">totem_cell_renderer_video_new</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_placeholder);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="TotemCellRendererVideo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
>GtkObject</a>
+----<a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
>GtkCellRenderer</a>
+----TotemCellRendererVideo
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="TotemCellRendererVideo.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--alignment" title='The "alignment" property'>alignment</a>" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoAlignment"
>PangoAlignment</a> : Read / Write
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--thumbnail" title='The "thumbnail" property'>thumbnail</a>" <a
href="/usr/share/gtk-doc/html/gdk-pixbuf3/gdk-pixbuf3-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* : Read / Write
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--title" title='The "title" property'>title</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--use-placeholder" title='The "use-placeholder" property'>use-placeholder</a>" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="TotemCellRendererVideo.description"></a><h2>Description</h2>
<p>
<a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> is a <a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
><span class="type">GtkCellRenderer</span></a> for rendering video thumbnails, typically in a <a class="link" href="TotemVideoList.html" title="TotemVideoList"><span class="type">TotemVideoList</span></a>.
It supports drawing a video thumbnail, and the video's title underneath.</p>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="TotemCellRendererVideo.details"></a><h2>Details</h2>
<div class="refsect2" title="TotemCellRendererVideo">
<a name="TotemCellRendererVideo-struct"></a><h3>TotemCellRendererVideo</h3>
<pre class="programlisting">typedef struct _TotemCellRendererVideo TotemCellRendererVideo;</pre>
<p>
All the fields in the <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> structure are private and should never be accessed directly.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="TotemCellRendererVideoClass">
<a name="TotemCellRendererVideoClass"></a><h3>TotemCellRendererVideoClass</h3>
<pre class="programlisting">typedef struct {
GtkCellRendererClass parent;
} TotemCellRendererVideoClass;
</pre>
<p>
The class structure for the <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> type.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><a
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html#GtkCellRendererClass"
>GtkCellRendererClass</a> <em class="structfield"><code>parent</code></em>;</span></p></td>
<td> the parent class
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="totem_cell_renderer_video_new ()">
<a name="totem-cell-renderer-video-new"></a><h3>totem_cell_renderer_video_new ()</h3>
<pre class="programlisting"><a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo">TotemCellRendererVideo</a> * totem_cell_renderer_video_new (<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> use_placeholder);</pre>
<p>
Creates a new <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> with its <a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--use-placeholder" title='The "use-placeholder" property'><span class="type">"use-placeholder"</span></a>
property set to <em class="parameter"><code>use_placeholder</code></em>. If <em class="parameter"><code>use_placeholder</code></em> is <code class="literal">TRUE</code>,
the renderer will display a generic placeholder thumbnail if a
proper one is not available.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_placeholder</code></em> :</span></p></td>
<td> if <code class="literal">TRUE</code>, use a placeholder thumbnail
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="TotemCellRendererVideo.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "alignment" property'>
<a name="TotemCellRendererVideo--alignment"></a><h3>The <code class="literal">"alignment"</code> property</h3>
<pre class="programlisting"> "alignment" <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoAlignment"
>PangoAlignment</a> : Read / Write</pre>
<p>
A <a
href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoAlignment"
><span class="type">PangoAlignment</span></a> giving the text alignment for the video title.</p>
<p>
</p>
<p>Default value: PANGO_ALIGN_CENTER</p>
</div>
<hr>
<div class="refsect2" title='The "thumbnail" property'>
<a name="TotemCellRendererVideo--thumbnail"></a><h3>The <code class="literal">"thumbnail"</code> property</h3>
<pre class="programlisting"> "thumbnail" <a
href="/usr/share/gtk-doc/html/gdk-pixbuf3/gdk-pixbuf3-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a>* : Read / Write</pre>
<p>
A <a
href="/usr/share/gtk-doc/html/gdk-pixbuf3/gdk-pixbuf3-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a> of a thumbnail of the video to display. When rendered, it will scale to the width of the parent <a
href="/usr/share/gtk-doc/html/gtk/GtkTreeView.html"
><span class="type">GtkTreeView</span></a>,
so can be as large as reasonable.</p>
<p>
</p>
</div>
<hr>
<div class="refsect2" title='The "title" property'>
<a name="TotemCellRendererVideo--title"></a><h3>The <code class="literal">"title"</code> property</h3>
<pre class="programlisting"> "title" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<p>
The title of the video, as it should be displayed.</p>
<p>
</p>
<p>Default value: "Unknown video"</p>
</div>
<hr>
<div class="refsect2" title='The "use-placeholder" property'>
<a name="TotemCellRendererVideo--use-placeholder"></a><h3>The <code class="literal">"use-placeholder"</code> property</h3>
<pre class="programlisting"> "use-placeholder" <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
If <code class="literal">TRUE</code>, a placeholder image should be used for the video thumbnail if a <a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--thumbnail" title='The "thumbnail" property'><span class="type">"thumbnail"</span></a> isn't provided.</p>
<p>
</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" title="See Also">
<a name="TotemCellRendererVideo.see-also"></a><h2>See Also</h2>
#TotemVideoList
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
</body>
</html>
|