1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>TotemCellRendererVideo</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
<link rel="home" href="index.html" title="Totem Reference Manual">
8
<link rel="up" href="widget-api.html" title="Widgets">
9
<link rel="prev" href="TotemVideoList.html" title="TotemVideoList">
10
<link rel="next" href="api-index-full.html" title="Index of all symbols">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="TotemVideoList.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="widget-api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">Totem Reference Manual</th>
21
<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#TotemCellRendererVideo.synopsis" class="shortcut">Top</a>
26
<a href="#TotemCellRendererVideo.description" class="shortcut">Description</a>
28
<a href="#TotemCellRendererVideo.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#TotemCellRendererVideo.properties" class="shortcut">Properties</a>
33
<div class="refentry">
34
<a name="TotemCellRendererVideo"></a><div class="titlepage"></div>
35
<div class="refnamediv"><table width="100%"><tr>
37
<h2><span class="refentrytitle"><a name="TotemCellRendererVideo.top_of_page"></a>TotemCellRendererVideo</span></h2>
38
<p>TotemCellRendererVideo — a <a href="http://developer.gnome.org/devel/gtk/GtkCellRenderer.html"><span class="type">GtkCellRenderer</span></a> widget for listing videos</p>
40
<td valign="top" align="right"></td>
42
<div class="refsect1">
43
<a name="TotemCellRendererVideo.stability-level"></a><h2>Stability Level</h2>
44
Unstable, unless otherwise indicated
46
<div class="refsynopsisdiv">
47
<a name="TotemCellRendererVideo.synopsis"></a><h2>Synopsis</h2>
48
<pre class="synopsis">
49
#include <totem-cell-renderer-video.h>
51
<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideo-struct" title="TotemCellRendererVideo">TotemCellRendererVideo</a>;
52
<a class="link" href="TotemCellRendererVideo.html#TotemCellRendererVideoClass" title="TotemCellRendererVideoClass">TotemCellRendererVideoClass</a>;
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">
57
<a name="TotemCellRendererVideo.object-hierarchy"></a><h2>Object Hierarchy</h2>
58
<pre class="synopsis">
59
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
60
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
61
+----<a href="http://developer.gnome.org/devel/gtk/GtkCellRenderer.html">GtkCellRenderer</a>
62
+----TotemCellRendererVideo
65
<div class="refsect1">
66
<a name="TotemCellRendererVideo.properties"></a><h2>Properties</h2>
67
<pre class="synopsis">
68
"<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
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
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
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
74
<div class="refsect1">
75
<a name="TotemCellRendererVideo.description"></a><h2>Description</h2>
77
<a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> is a <a href="http://developer.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>.
78
It supports drawing a video thumbnail, and the video's title underneath.
81
<div class="refsect1">
82
<a name="TotemCellRendererVideo.details"></a><h2>Details</h2>
83
<div class="refsect2">
84
<a name="TotemCellRendererVideo-struct"></a><h3>TotemCellRendererVideo</h3>
85
<pre class="programlisting">typedef struct _TotemCellRendererVideo TotemCellRendererVideo;</pre>
87
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.
91
<div class="refsect2">
92
<a name="TotemCellRendererVideoClass"></a><h3>TotemCellRendererVideoClass</h3>
93
<pre class="programlisting">typedef struct {
94
GtkCellRendererClass parent;
95
} TotemCellRendererVideoClass;
98
The class structure for the <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a> type.
100
<div class="variablelist"><table border="0">
101
<col align="left" valign="top">
103
<td><p><span class="term"><a href="http://developer.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>
109
<div class="refsect2">
110
<a name="totem-cell-renderer-video-new"></a><h3>totem_cell_renderer_video_new ()</h3>
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>
113
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>
114
property set to <em class="parameter"><code>use_placeholder</code></em>. If <em class="parameter"><code>use_placeholder</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>,
115
the renderer will display a generic placeholder thumbnail if a
116
proper one is not available.
118
<div class="variablelist"><table border="0">
119
<col align="left" valign="top">
122
<td><p><span class="term"><em class="parameter"><code>use_placeholder</code></em> :</span></p></td>
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>
126
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
127
<td>a new <a class="link" href="TotemCellRendererVideo.html" title="TotemCellRendererVideo"><span class="type">TotemCellRendererVideo</span></a>
134
<div class="refsect1">
135
<a name="TotemCellRendererVideo.property-details"></a><h2>Property Details</h2>
136
<div class="refsect2">
137
<a name="TotemCellRendererVideo--alignment"></a><h3>The <code class="literal">"alignment"</code> property</h3>
138
<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>
140
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.
142
<p>Default value: PANGO_ALIGN_CENTER</p>
145
<div class="refsect2">
146
<a name="TotemCellRendererVideo--thumbnail"></a><h3>The <code class="literal">"thumbnail"</code> property</h3>
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>
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://developer.gnome.org/devel/gtk/GtkTreeView.html"><span class="type">GtkTreeView</span></a>,
150
so can be as large as reasonable.
154
<div class="refsect2">
155
<a name="TotemCellRendererVideo--title"></a><h3>The <code class="literal">"title"</code> property</h3>
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>
158
The title of the video, as it should be displayed.
160
<p>Default value: "Unknown video"</p>
163
<div class="refsect2">
164
<a name="TotemCellRendererVideo--use-placeholder"></a><h3>The <code class="literal">"use-placeholder"</code> property</h3>
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>
167
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, 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.
169
<p>Default value: FALSE</p>
172
<div class="refsect1">
173
<a name="TotemCellRendererVideo.see-also"></a><h2>See Also</h2>
174
<a class="link" href="TotemVideoList.html" title="TotemVideoList"><span class="type">TotemVideoList</span></a>
179
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'