4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>TotemCellRendererVideo</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
7
<link rel="home" href="index.html" title="Totem Reference Manual">
8
8
<link rel="up" href="widget-api.html" title="Widgets">
9
9
<link rel="prev" href="TotemVideoList.html" title="TotemVideoList">
10
10
<link rel="next" href="api-index-full.html" title="Index of all symbols">
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
30
30
<a href="#TotemCellRendererVideo.properties" class="shortcut">Properties</a>
33
<div class="refentry" title="TotemCellRendererVideo">
33
<div class="refentry">
34
34
<a name="TotemCellRendererVideo"></a><div class="titlepage"></div>
35
35
<div class="refnamediv"><table width="100%"><tr>
37
37
<h2><span class="refentrytitle"><a name="TotemCellRendererVideo.top_of_page"></a>TotemCellRendererVideo</span></h2>
38
<p>TotemCellRendererVideo — a <a href="http://library.gnome.org/devel/gtk/unstable/GtkCellRenderer.html"><span class="type">GtkCellRenderer</span></a> widget for listing videos</p>
38
<p>TotemCellRendererVideo — a <a href="http://library.gnome.org/devel/gtk/GtkCellRenderer.html"><span class="type">GtkCellRenderer</span></a> widget for listing videos</p>
40
40
<td valign="top" align="right"></td>
41
41
</tr></table></div>
42
<div class="refsect1" title="Stability Level">
42
<div class="refsect1">
43
43
<a name="TotemCellRendererVideo.stability-level"></a><h2>Stability Level</h2>
44
44
Unstable, unless otherwise indicated
46
<div class="refsynopsisdiv" title="Synopsis">
46
<div class="refsynopsisdiv">
47
47
<a name="TotemCellRendererVideo.synopsis"></a><h2>Synopsis</h2>
48
48
<pre class="synopsis">
49
49
#include <totem-cell-renderer-video.h>
53
53
<a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="returnvalue">TotemCellRendererVideo</span></a> * <a class="link" href="TotemCellRendererVideo.html#totem-cell-renderer-video-new" title="totem_cell_renderer_video_new ()">totem_cell_renderer_video_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_placeholder</code></em>);
56
<div class="refsect1" title="Object Hierarchy">
56
<div class="refsect1">
57
57
<a name="TotemCellRendererVideo.object-hierarchy"></a><h2>Object Hierarchy</h2>
58
58
<pre class="synopsis">
59
59
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
60
60
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
61
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
62
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkCellRenderer.html">GtkCellRenderer</a>
63
+----TotemCellRendererVideo
61
+----<a href="http://library.gnome.org/devel/gtk/GtkCellRenderer.html">GtkCellRenderer</a>
62
+----TotemCellRendererVideo
66
<div class="refsect1" title="Properties">
65
<div class="refsect1">
67
66
<a name="TotemCellRendererVideo.properties"></a><h2>Properties</h2>
68
67
<pre class="synopsis">
69
"<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"><span class="type">PangoAlignment</span></a> : Read / Write
70
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--thumbnail" title='The "thumbnail" property'>thumbnail</a>" <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>* : Read / Write
68
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--alignment" title='The "alignment" property'>alignment</a>" <span class="type">PangoAlignment</span> : Read / Write
69
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--thumbnail" title='The "thumbnail" property'>thumbnail</a>" <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>* : Read / Write
71
70
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--title" title='The "title" property'>title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
72
71
"<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo--use-placeholder" title='The "use-placeholder" property'>use-placeholder</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
75
<div class="refsect1" title="Description">
74
<div class="refsect1">
76
75
<a name="TotemCellRendererVideo.description"></a><h2>Description</h2>
78
<a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> is a <a href="http://library.gnome.org/devel/gtk/unstable/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>.
77
<a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> is a <a href="http://library.gnome.org/devel/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>.
79
78
It supports drawing a video thumbnail, and the video's title underneath.
82
<div class="refsect1" title="Details">
81
<div class="refsect1">
83
82
<a name="TotemCellRendererVideo.details"></a><h2>Details</h2>
84
<div class="refsect2" title="TotemCellRendererVideo">
83
<div class="refsect2">
85
84
<a name="TotemCellRendererVideo-struct"></a><h3>TotemCellRendererVideo</h3>
86
85
<pre class="programlisting">typedef struct _TotemCellRendererVideo TotemCellRendererVideo;</pre>
101
100
<div class="variablelist"><table border="0">
102
101
<col align="left" valign="top">
104
<td><p><span class="term"><a href="http://library.gnome.org/devel/gtk/unstable/GtkCellRenderer.html#GtkCellRendererClass"><span class="type">GtkCellRendererClass</span></a> <em class="structfield"><code><a name="TotemCellRendererVideoClass.parent"></a>parent</code></em>;</span></p></td>
103
<td><p><span class="term"><a href="http://library.gnome.org/devel/gtk/GtkCellRenderer.html#GtkCellRendererClass"><span class="type">GtkCellRendererClass</span></a> <em class="structfield"><code><a name="TotemCellRendererVideoClass.parent"></a>parent</code></em>;</span></p></td>
104
<td>the parent class</td>
111
<div class="refsect2" title="totem_cell_renderer_video_new ()">
109
<div class="refsect2">
112
110
<a name="totem-cell-renderer-video-new"></a><h3>totem_cell_renderer_video_new ()</h3>
113
111
<pre class="programlisting"><a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="returnvalue">TotemCellRendererVideo</span></a> * totem_cell_renderer_video_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_placeholder</code></em>);</pre>
124
122
<td><p><span class="term"><em class="parameter"><code>use_placeholder</code></em> :</span></p></td>
125
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, use a placeholder thumbnail
123
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, use a placeholder thumbnail</td>
129
126
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
130
<td> a new <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a>
127
<td>a new <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a>
137
<div class="refsect1" title="Property Details">
134
<div class="refsect1">
138
135
<a name="TotemCellRendererVideo.property-details"></a><h2>Property Details</h2>
139
<div class="refsect2" title='The "alignment" property'>
136
<div class="refsect2">
140
137
<a name="TotemCellRendererVideo--alignment"></a><h3>The <code class="literal">"alignment"</code> property</h3>
141
<pre class="programlisting"> "alignment" <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoAlignment"><span class="type">PangoAlignment</span></a> : Read / Write</pre>
138
<pre class="programlisting"> "alignment" <span class="type">PangoAlignment</span> : Read / Write</pre>
143
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.
140
A <span class="type">PangoAlignment</span> giving the text alignment for the video title.
145
142
<p>Default value: PANGO_ALIGN_CENTER</p>
148
<div class="refsect2" title='The "thumbnail" property'>
145
<div class="refsect2">
149
146
<a name="TotemCellRendererVideo--thumbnail"></a><h3>The <code class="literal">"thumbnail"</code> property</h3>
150
<pre class="programlisting"> "thumbnail" <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>* : Read / Write</pre>
147
<pre class="programlisting"> "thumbnail" <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>* : Read / Write</pre>
152
A <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-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="http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html"><span class="type">GtkTreeView</span></a>,
149
A <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.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="http://library.gnome.org/devel/gtk/GtkTreeView.html"><span class="type">GtkTreeView</span></a>,
153
150
so can be as large as reasonable.
157
<div class="refsect2" title='The "title" property'>
154
<div class="refsect2">
158
155
<a name="TotemCellRendererVideo--title"></a><h3>The <code class="literal">"title"</code> property</h3>
159
156
<pre class="programlisting"> "title" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
163
160
<p>Default value: "Unknown video"</p>
166
<div class="refsect2" title='The "use-placeholder" property'>
163
<div class="refsect2">
167
164
<a name="TotemCellRendererVideo--use-placeholder"></a><h3>The <code class="literal">"use-placeholder"</code> property</h3>
168
165
<pre class="programlisting"> "use-placeholder" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
172
169
<p>Default value: FALSE</p>
175
<div class="refsect1" title="See Also">
172
<div class="refsect1">
176
173
<a name="TotemCellRendererVideo.see-also"></a><h2>See Also</h2>
177
174
<a class="link" href="TotemVideoList.html" title="TotemVideoList"><span class="type">TotemVideoList</span></a>
180
177
<div class="footer">
182
Generated by GTK-Doc V1.15</div>
179
Generated by GTK-Doc V1.17.1</div>
b'\\ No newline at end of file'