/usr/share/gtk-doc/html/ges-0.10/GESTimelineObject.html is in libges-0.10-doc 0.10.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GESTimelineObject</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GStreamer Editing Services 0.10.1 Reference Manual">
<link rel="up" href="ch02.html" title="Base Classes">
<link rel="prev" href="GESTimelineLayer.html" title="GESTimelineLayer">
<link rel="next" href="GESTimelineSource.html" title="GESTimelineSource">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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="GESTimelineLayer.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.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">GStreamer Editing Services 0.10.1 Reference Manual</th>
<td><a accesskey="n" href="GESTimelineSource.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GESTimelineObject.synopsis" class="shortcut">Top</a>
|
<a href="#GESTimelineObject.description" class="shortcut">Description</a>
|
<a href="#GESTimelineObject.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GESTimelineObject.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="GESTimelineObject"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GESTimelineObject.top_of_page"></a>GESTimelineObject</span></h2>
<p>GESTimelineObject — Base Class for objects in a <a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="type">GESTimelineLayer</span></a></p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GESTimelineObject.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <ges/ges.h>
<a class="link" href="GESTimelineObject.html#GESTimelineObject-struct" title="GESTimelineObject">GESTimelineObject</a>;
<a class="link" href="GESTimelineObject.html#GESTimelineObjectClass" title="GESTimelineObjectClass">GESTimelineObjectClass</a>;
<a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="returnvalue">GESTrackObject</span></a> * (<a class="link" href="GESTimelineObject.html#GESCreateTrackObjectFunc" title="GESCreateTrackObjectFunc ()">*GESCreateTrackObjectFunc</a>) (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="GESTimelineObject.html#GESCreateTrackObjectsFunc" title="GESCreateTrackObjectsFunc ()">*GESCreateTrackObjectsFunc</a>) (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="GESTimelineObject.html#GESFillTrackObjectFunc" title="GESFillTrackObjectFunc ()">*GESFillTrackObjectFunc</a>) (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *trobject</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html"><span class="type">GstElement</span></a> *gnlobj</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GESTimelineObject.html#ges-timeline-object-set-inpoint" title="ges_timeline_object_set_inpoint ()">ges_timeline_object_set_inpoint</a> (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> inpoint</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GESTimelineObject.html#ges-timeline-object-set-start" title="ges_timeline_object_set_start ()">ges_timeline_object_set_start</a> (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> start</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GESTimelineObject.html#ges-timeline-object-set-duration" title="ges_timeline_object_set_duration ()">ges_timeline_object_set_duration</a> (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> duration</code></em>);
<a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="returnvalue">GESTimelineLayer</span></a> * <a class="link" href="GESTimelineObject.html#ges-timeline-object-get-layer" title="ges_timeline_object_get_layer ()">ges_timeline_object_get_layer</a> (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>);
<a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="returnvalue">GESTrackObject</span></a> * <a class="link" href="GESTimelineObject.html#ges-timeline-object-find-track-object" title="ges_timeline_object_find_track_object ()">ges_timeline_object_find_track_object</a>
(<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GESTimelineObject.html#ges-timeline-object-add-track-object" title="ges_timeline_object_add_track_object ()">ges_timeline_object_add_track_object</a>
(<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *trobj</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GESTimelineObject.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>
+----GESTimelineObject
+----<a class="link" href="GESTimelineSource.html" title="GESTimelineSource">GESTimelineSource</a>
+----<a class="link" href="GESTimelineOperation.html" title="GESTimelineOperation">GESTimelineOperation</a>
</pre>
</div>
<div class="refsect1">
<a name="GESTimelineObject.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GESTimelineObject.html#GESTimelineObject--duration" title='The "duration" property'>duration</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write
"<a class="link" href="GESTimelineObject.html#GESTimelineObject--height" title='The "height" property'>height</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
"<a class="link" href="GESTimelineObject.html#GESTimelineObject--in-point" title='The "in-point" property'>in-point</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write
"<a class="link" href="GESTimelineObject.html#GESTimelineObject--layer" title='The "layer" property'>layer</a>" <a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="type">GESTimelineLayer</span></a>* : Read
"<a class="link" href="GESTimelineObject.html#GESTimelineObject--priority" title='The "priority" property'>priority</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
"<a class="link" href="GESTimelineObject.html#GESTimelineObject--start" title='The "start" property'>start</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GESTimelineObject.description"></a><h2>Description</h2>
<p>
A <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> is a 'natural' object which controls one or more
<a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a>(s) in one or more <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>(s).
</p>
<p>
Keeps a reference to the <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a>(s) it created and
sets/updates their properties.
</p>
</div>
<div class="refsect1">
<a name="GESTimelineObject.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GESTimelineObject-struct"></a><h3>GESTimelineObject</h3>
<pre class="programlisting">typedef struct _GESTimelineObject GESTimelineObject;</pre>
<p>
The <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> base class.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTimelineObjectClass"></a><h3>GESTimelineObjectClass</h3>
<pre class="programlisting">typedef struct {
GESCreateTrackObjectFunc create_track_object;
GESCreateTrackObjectsFunc create_track_objects;
/* FIXME : might need a release_track_object */
GESFillTrackObjectFunc fill_track_object;
gboolean need_fill_track;
} GESTimelineObjectClass;
</pre>
<p>
Subclasses can override the <em class="parameter"><code>create_track_object</code></em> and <em class="parameter"><code>fill_track_object</code></em> methods.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="GESTimelineObject.html#GESCreateTrackObjectFunc" title="GESCreateTrackObjectFunc ()"><span class="type">GESCreateTrackObjectFunc</span></a> <em class="structfield"><code><a name="GESTimelineObjectClass.create-track-object"></a>create_track_object</code></em>;</span></p></td>
<td>method to create a single <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> for a given <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GESTimelineObject.html#GESCreateTrackObjectsFunc" title="GESCreateTrackObjectsFunc ()"><span class="type">GESCreateTrackObjectsFunc</span></a> <em class="structfield"><code><a name="GESTimelineObjectClass.create-track-objects"></a>create_track_objects</code></em>;</span></p></td>
<td>method to create multiple <a href="../ges-0.10/GESTrackObject.html"><span class="type">GESTrackObjects</span></a> for a
<a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GESTimelineObject.html#GESFillTrackObjectFunc" title="GESFillTrackObjectFunc ()"><span class="type">GESFillTrackObjectFunc</span></a> <em class="structfield"><code><a name="GESTimelineObjectClass.fill-track-object"></a>fill_track_object</code></em>;</span></p></td>
<td>method to fill an associated <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GESTimelineObjectClass.need-fill-track"></a>need_fill_track</code></em>;</span></p></td>
<td>Set to TRUE if <em class="parameter"><code>fill_track_object</code></em> needs to be called.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GESCreateTrackObjectFunc"></a><h3>GESCreateTrackObjectFunc ()</h3>
<pre class="programlisting"><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="returnvalue">GESTrackObject</span></a> * (*GESCreateTrackObjectFunc) (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>);</pre>
<p>
Creates the 'primary' track object for this <em class="parameter"><code>object</code></em>.
</p>
<p>
Subclasses should implement this method if they only provide a
single <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> per track.
</p>
<p>
If the subclass needs to create more than one <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> for a
given track, then it should implement the 'create_track_objects'
method instead.
</p>
<p>
The implementer of this function shall return the proper <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a>
that should be controlled by <em class="parameter"><code>object</code></em> for the given <em class="parameter"><code>track</code></em>.
</p>
<p>
The returned <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> will be automatically added to the list
of objects controlled by the <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> to be used, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it can't provide one
for the given <em class="parameter"><code>track</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GESCreateTrackObjectsFunc"></a><h3>GESCreateTrackObjectsFunc ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GESCreateTrackObjectsFunc) (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>);</pre>
<p>
Create all track objects this object handles for this type of track.
</p>
<p>
Subclasses should implement this method if they potentially need to
return more than one <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a>(s) for a given <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>.
</p>
<p>
For each object created, the subclass must call
<a class="link" href="GESTimelineObject.html#ges-timeline-object-add-track-object" title="ges_timeline_object_add_track_object ()"><code class="function">ges_timeline_object_add_track_object()</code></a> with the newly created object
and provided <em class="parameter"><code>track</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GESFillTrackObjectFunc"></a><h3>GESFillTrackObjectFunc ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GESFillTrackObjectFunc) (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *trobject</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html"><span class="type">GstElement</span></a> *gnlobj</code></em>);</pre>
<p>
A function that will be called when the GNonLin object of a corresponding
track object needs to be filled.
</p>
<p>
The implementer of this function shall add the proper <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html"><span class="type">GstElement</span></a> to <em class="parameter"><code>gnlobj</code></em>
using <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstBin.html#gst-bin-add"><code class="function">gst_bin_add()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>the <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> controlling the track object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>trobject</code></em> :</span></p></td>
<td>the <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>gnlobj</code></em> :</span></p></td>
<td>the GNonLin object that needs to be filled.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the implementer succesfully filled the <em class="parameter"><code>gnlobj</code></em>, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><span class="type">FALSE</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-object-set-inpoint"></a><h3>ges_timeline_object_set_inpoint ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ges_timeline_object_set_inpoint (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> inpoint</code></em>);</pre>
<p>
Set the in-point, that is the moment at which the <em class="parameter"><code>object</code></em> will start
outputting data from its contents.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>inpoint</code></em> :</span></p></td>
<td>the in-point in <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-object-set-start"></a><h3>ges_timeline_object_set_start ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ges_timeline_object_set_start (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> start</code></em>);</pre>
<p>
Set the position of the object in its containing layer
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td>the position in <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-object-set-duration"></a><h3>ges_timeline_object_set_duration ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> ges_timeline_object_set_duration (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> duration</code></em>);</pre>
<p>
Set the duration of the object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>duration</code></em> :</span></p></td>
<td>the duration in <a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-object-get-layer"></a><h3>ges_timeline_object_get_layer ()</h3>
<pre class="programlisting"><a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="returnvalue">GESTimelineLayer</span></a> * ges_timeline_object_get_layer (<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>);</pre>
<p>
Note: The reference count of the returned <a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="type">GESTimelineLayer</span></a> will be increased,
The user is responsible for unreffing it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The <a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="type">GESTimelineLayer</span></a> where this <em class="parameter"><code>object</code></em> is being used, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> if
it is not used on any layer. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-object-find-track-object"></a><h3>ges_timeline_object_find_track_object ()</h3>
<pre class="programlisting"><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="returnvalue">GESTrackObject</span></a> * ges_timeline_object_find_track_object
(<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> *track</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>);</pre>
<p>
Finds the <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> controlled by <em class="parameter"><code>object</code></em> that is used in <em class="parameter"><code>track</code></em>. You
may optionally specify a GType to further narrow search criteria.
</p>
<p>
Note: The reference count of the returned <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> will be increased,
unref when done with it.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>track</code></em> :</span></p></td>
<td>a <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a> or NULL</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>a <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> indicating the type of track object you are looking
for or <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> if you do not care about the track type.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The <a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> used by <em class="parameter"><code>track</code></em>, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="ges-timeline-object-add-track-object"></a><h3>ges_timeline_object_add_track_object ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> ges_timeline_object_add_track_object
(<em class="parameter"><code><a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="GESTrackObject.html" title="GESTrackObject"><span class="type">GESTrackObject</span></a> *trobj</code></em>);</pre>
<p>
Add a track object to the timeline object. Should only be called by
subclasses implementing the create_track_objects (plural) vmethod.
</p>
<p>
Takes a reference on <em class="parameter"><code>trobj</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>trobj</code></em> :</span></p></td>
<td>the GESTrackObject</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> on failure.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GESTimelineObject.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GESTimelineObject--duration"></a><h3>The <code class="literal">"duration"</code> property</h3>
<pre class="programlisting"> "duration" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write</pre>
<p>
The duration (in nanoseconds) which will be used in the container <a class="link" href="GESTrack.html" title="GESTrack"><span class="type">GESTrack</span></a>
starting from 'in-point'.
</p>
<p>Default value: 18446744073709551615</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTimelineObject--height"></a><h3>The <code class="literal">"height"</code> property</h3>
<pre class="programlisting"> "height" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
<p>
The span of layer priorities which this object occupies.
</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTimelineObject--in-point"></a><h3>The <code class="literal">"in-point"</code> property</h3>
<pre class="programlisting"> "in-point" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write</pre>
<p>
The in-point at which this <a class="link" href="GESTimelineObject.html" title="GESTimelineObject"><span class="type">GESTimelineObject</span></a> will start outputting data
from its contents (in nanoseconds).
</p>
<p>
Ex : an in-point of 5 seconds means that the first outputted buffer will
be the one located 5 seconds in the controlled resource.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTimelineObject--layer"></a><h3>The <code class="literal">"layer"</code> property</h3>
<pre class="programlisting"> "layer" <a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="type">GESTimelineLayer</span></a>* : Read</pre>
<p>The GESTimelineLayer where this object is being used.</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTimelineObject--priority"></a><h3>The <code class="literal">"priority"</code> property</h3>
<pre class="programlisting"> "priority" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
<p>
The layer priority of the timeline object.
</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GESTimelineObject--start"></a><h3>The <code class="literal">"start"</code> property</h3>
<pre class="programlisting"> "start" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> : Read / Write</pre>
<p>
The position of the object in the <a class="link" href="GESTimelineLayer.html" title="GESTimelineLayer"><span class="type">GESTimelineLayer</span></a> (in nanoseconds).
</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17</div>
</body>
</html>
|