/usr/share/gtk-doc/html/ges-1.0/GESLayer.html is in libges-1.0-doc 1.14.0-1.
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 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GESLayer: GStreamer Editing Services 1.14.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Editing Services 1.14.0 Reference Manual">
<link rel="up" href="ch02.html" title="Base Classes">
<link rel="prev" href="GESTimeline.html" title="GESTimeline">
<link rel="next" href="GESTimelineElement.html" title="GESTimelineElement">
<meta name="generator" content="GTK-Doc V1.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#GESLayer.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#GESLayer.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
<a href="#GESLayer.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#GESLayer.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#GESLayer.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GESTimeline.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GESTimelineElement.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GESLayer"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GESLayer.top_of_page"></a>GESLayer</span></h2>
<p>GESLayer — Non-overlapping sequence of GESClip</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GESLayer.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-add-clip" title="ges_layer_add_clip ()">ges_layer_add_clip</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GESClip.html" title="GESClip"><span class="returnvalue">GESClip</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-add-asset" title="ges_layer_add_asset ()">ges_layer_add_asset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GESLayer.html" title="GESLayer"><span class="returnvalue">GESLayer</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-new" title="ges_layer_new ()">ges_layer_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-remove-clip" title="ges_layer_remove_clip ()">ges_layer_remove_clip</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-set-priority" title="ges_layer_set_priority ()">ges_layer_set_priority</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-get-priority" title="ges_layer_get_priority ()">ges_layer_get_priority</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-get-clips" title="ges_layer_get_clips ()">ges_layer_get_clips</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-get-auto-transition" title="ges_layer_get_auto_transition ()">ges_layer_get_auto_transition</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-set-auto-transition" title="ges_layer_set_auto_transition ()">ges_layer_set_auto_transition</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-is-empty" title="ges_layer_is_empty ()">ges_layer_is_empty</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
</td>
<td class="function_name">
<a class="link" href="GESLayer.html#ges-layer-get-duration" title="ges_layer_get_duration ()">ges_layer_get_duration</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="GESLayer.html#GES-TIMELINE-GET-LAYERS:CAPS" title="GES_TIMELINE_GET_LAYERS()">GES_TIMELINE_GET_LAYERS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="GESLayer.html#GES-TIMELINE-GET-TRACKS:CAPS" title="GES_TIMELINE_GET_TRACKS()">GES_TIMELINE_GET_TRACKS</a><span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESLayer.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GESLayer.html#GESLayer--auto-transition" title="The “auto-transition” property">auto-transition</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GESLayer.html#GESLayer--priority" title="The “priority” property">priority</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESLayer.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GESLayer.html#GESLayer-clip-added" title="The “clip-added” signal">clip-added</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GESLayer.html#GESLayer-clip-removed" title="The “clip-removed” signal">clip-removed</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESLayer.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GESLayer.html#GESLayer-struct" title="GESLayer">GESLayer</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GESLayer.html#GESLayerClass" title="GESLayerClass">GESLayerClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GESLayer.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
<span class="lineart">╰──</span> GESLayer
</pre>
</div>
<div class="refsect1">
<a name="GESLayer.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GESLayer implements
<a class="link" href="ges-GESExtractableInterface.html#GESExtractable">GESExtractable</a> and <a class="link" href="GESMetaContainer.html" title="GESMetaContainer">GESMetaContainer</a>.</p>
</div>
<div class="refsect1">
<a name="GESLayer.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <ges/ges.h>
</pre>
</div>
<div class="refsect1">
<a name="GESLayer.description"></a><h2>Description</h2>
<p>Responsible for the ordering of the various contained Clip(s). A
timeline layer has a "priority" property, which is used to manage the
priorities of individual Clips. Two layers should not have the
same priority within a given timeline.</p>
</div>
<div class="refsect1">
<a name="GESLayer.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="ges-layer-add-clip"></a><h3>ges_layer_add_clip ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_layer_add_clip (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>);</pre>
<p>Adds the given clip to the layer. Sets the clip's parent, and thus
takes ownership of the clip.</p>
<p>An clip can only be added to one layer.</p>
<p>Calling this method will construct and properly set all the media related
elements on <em class="parameter"><code>clip</code></em>
. If you need to know when those objects (actually <a class="link" href="GESTrackElement.html" title="GESTrackElement"><span class="type">GESTrackElement</span></a>)
are constructed, you should connect to the container::child-added signal which
is emited right after those elements are ready to be used.</p>
<div class="refsect3">
<a name="ges-layer-add-clip.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> to add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-add-clip.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the clip was properly added to the layer, or <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
if the <em class="parameter"><code>layer</code></em>
refuses to add the clip.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-add-asset"></a><h3>ges_layer_add_asset ()</h3>
<pre class="programlisting"><a class="link" href="GESClip.html" title="GESClip"><span class="returnvalue">GESClip</span></a> *
ges_layer_add_asset (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a class="link" href="GESAsset.html" title="GESAsset"><span class="type">GESAsset</span></a> *asset</code></em>,
<em class="parameter"><code><a href="../gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> start</code></em>,
<em class="parameter"><code><a href="../gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> inpoint</code></em>,
<em class="parameter"><code><a href="../gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> duration</code></em>,
<em class="parameter"><code><a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> track_types</code></em>);</pre>
<p>Creates Clip from asset, adds it to layer and
returns a reference to it.</p>
<div class="refsect3">
<a name="ges-layer-add-asset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>asset</p></td>
<td class="parameter_description"><p>The asset to add to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>start</p></td>
<td class="parameter_description"><p>The start value to set on the new <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a>,
if <em class="parameter"><code>start</code></em>
== GST_CLOCK_TIME_NONE, it will be set to
the current duration of <em class="parameter"><code>layer</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>inpoint</p></td>
<td class="parameter_description"><p>The inpoint value to set on the new <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>duration</p></td>
<td class="parameter_description"><p>The duration value to set on the new <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>track_types</p></td>
<td class="parameter_description"><p>The <a class="link" href="ges-GES-Enums.html#GESTrackType" title="enum GESTrackType"><span class="type">GESTrackType</span></a> to set on the the new <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-add-asset.returns"></a><h4>Returns</h4>
<p>Created <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-new"></a><h3>ges_layer_new ()</h3>
<pre class="programlisting"><a class="link" href="GESLayer.html" title="GESLayer"><span class="returnvalue">GESLayer</span></a> *
ges_layer_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a>.</p>
<div class="refsect3">
<a name="ges-layer-new.returns"></a><h4>Returns</h4>
<p>A new <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a>. </p>
<p><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-remove-clip"></a><h3>ges_layer_remove_clip ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_layer_remove_clip (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip</code></em>);</pre>
<p>Removes the given <em class="parameter"><code>clip</code></em>
from the <em class="parameter"><code>layer</code></em>
and unparents it.
Unparenting it means the reference owned by <em class="parameter"><code>layer</code></em>
on the <em class="parameter"><code>clip</code></em>
will be
removed. If you wish to use the <em class="parameter"><code>clip</code></em>
after this function, make sure you
call <a href="../gstreamer-1.0/GstObject.html#gst-object-ref"><code class="function">gst_object_ref()</code></a> before removing it from the <em class="parameter"><code>layer</code></em>
.</p>
<div class="refsect3">
<a name="ges-layer-remove-clip.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> to remove</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-remove-clip.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the clip could be removed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the layer does
not want to remove the clip.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-set-priority"></a><h3>ges_layer_set_priority ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ges_layer_set_priority (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> priority</code></em>);</pre>
<p>Sets the layer to the given <em class="parameter"><code>priority</code></em>
. See the documentation of the
priority property for more information.</p>
<div class="refsect3">
<a name="ges-layer-set-priority.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>priority</p></td>
<td class="parameter_description"><p>the priority to set</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-get-priority"></a><h3>ges_layer_get_priority ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
ges_layer_get_priority (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>);</pre>
<p>Get the priority of <em class="parameter"><code>layer</code></em>
within the timeline.</p>
<div class="refsect3">
<a name="ges-layer-get-priority.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-get-priority.returns"></a><h4>Returns</h4>
<p> The priority of the <em class="parameter"><code>layer</code></em>
within the timeline.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-get-clips"></a><h3>ges_layer_get_clips ()</h3>
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
ges_layer_get_clips (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>);</pre>
<p>Get the clips this layer contains.</p>
<div class="refsect3">
<a name="ges-layer-get-clips.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-get-clips.returns"></a><h4>Returns</h4>
<p>a <a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
clips. The user is responsible for
unreffing the contained objects and freeing the list. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GESClip]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-get-auto-transition"></a><h3>ges_layer_get_auto_transition ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_layer_get_auto_transition (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>);</pre>
<p>Gets whether transitions are automatically added when objects
overlap or not.</p>
<div class="refsect3">
<a name="ges-layer-get-auto-transition.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-get-auto-transition.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if transitions are automatically added, else <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-set-auto-transition"></a><h3>ges_layer_set_auto_transition ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
ges_layer_set_auto_transition (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> auto_transition</code></em>);</pre>
<p>Sets the layer to the given <em class="parameter"><code>auto_transition</code></em>
. See the documentation of the
property auto_transition for more information.</p>
<div class="refsect3">
<a name="ges-layer-set-auto-transition.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>a <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>auto_transition</p></td>
<td class="parameter_description"><p>whether the auto_transition is active</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-is-empty"></a><h3>ges_layer_is_empty ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
ges_layer_is_empty (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>);</pre>
<p>Convenience method to check if <em class="parameter"><code>layer</code></em>
is empty (doesn't contain any clip),
or not.</p>
<div class="refsect3">
<a name="ges-layer-is-empty.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>The <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> to check</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-is-empty.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>layer</code></em>
is empty, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it already contains at least
one <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ges-layer-get-duration"></a><h3>ges_layer_get_duration ()</h3>
<pre class="programlisting"><a href="../gstreamer-1.0/GstClock.html#GstClockTime"><span class="returnvalue">GstClockTime</span></a>
ges_layer_get_duration (<em class="parameter"><code><a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer</code></em>);</pre>
<p>Lets you retrieve the duration of the layer, which means
the end time of the last clip inside it</p>
<div class="refsect3">
<a name="ges-layer-get-duration.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>The <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> to get the duration from</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ges-layer-get-duration.returns"></a><h4>Returns</h4>
<p> The duration of a layer</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GES-TIMELINE-GET-LAYERS:CAPS"></a><h3>GES_TIMELINE_GET_LAYERS()</h3>
<pre class="programlisting">#define GES_TIMELINE_GET_LAYERS(obj) (GES_TIMELINE (obj)->layers)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GES-TIMELINE-GET-TRACKS:CAPS"></a><h3>GES_TIMELINE_GET_TRACKS()</h3>
<pre class="programlisting">#define GES_TIMELINE_GET_TRACKS(obj) (GES_TIMELINE (obj)->tracks)
</pre>
</div>
</div>
<div class="refsect1">
<a name="GESLayer.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GESLayer-struct"></a><h3>GESLayer</h3>
<pre class="programlisting">typedef struct {
GESTimeline *timeline;
} GESLayer;
</pre>
<div class="refsect3">
<a name="GESLayer.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a> *<em class="structfield"><code><a name="GESLayer-struct.timeline"></a>timeline</code></em>;</p></td>
<td class="struct_member_description"><p>the <a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a> where this layer is being used.</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GESLayerClass"></a><h3>GESLayerClass</h3>
<pre class="programlisting">typedef struct {
/* virtual methods for subclasses */
GList *(*get_objects) (GESLayer * layer);
} GESLayerClass;
</pre>
<p>Subclasses can override the <em class="parameter"><code>get_objects</code></em>
if they can provide a more
efficient way of providing the list of contained <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a>(s).</p>
<div class="refsect3">
<a name="GESLayerClass.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GESLayerClass.get-objects"></a>get_objects</code></em> ()</p></td>
<td class="struct_member_description"><p>method to get the objects contained in the layer</p></td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GESLayer.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GESLayer--auto-transition"></a><h3>The <code class="literal">“auto-transition”</code> property</h3>
<pre class="programlisting"> “auto-transition” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Sets whether transitions are added automagically when clips overlap.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="GESLayer--priority"></a><h3>The <code class="literal">“priority”</code> property</h3>
<pre class="programlisting"> “priority” <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The priority of the layer in the <a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a>. 0 is the highest
priority. Conceptually, a <a class="link" href="GESTimeline.html" title="GESTimeline"><span class="type">GESTimeline</span></a> is a stack of GESLayers,
and the priority of the layer represents its position in the stack. Two
layers should not have the same priority within a given GESTimeline.</p>
<p>Note that the timeline needs to be commited (with <a class="link" href="GESTimeline.html#ges-timeline-commit" title="ges_timeline_commit ()"><span class="type">ges_timeline_commit</span></a>)
for the change to be taken into account.</p>
<p>Flags: Read / Write</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1">
<a name="GESLayer.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GESLayer-clip-added"></a><h3>The <code class="literal">“clip-added”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer,
<a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Will be emitted after the clip was added to the layer.</p>
<div class="refsect3">
<a name="GESLayer-clip-added.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> that was added.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GESLayer-clip-removed"></a><h3>The <code class="literal">“clip-removed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a> *layer,
<a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> *clip,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Will be emitted after the clip was removed from the layer.</p>
<div class="refsect3">
<a name="GESLayer-clip-removed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>layer</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESLayer.html" title="GESLayer"><span class="type">GESLayer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>clip</p></td>
<td class="parameter_description"><p>the <a class="link" href="GESClip.html" title="GESClip"><span class="type">GESClip</span></a> that was removed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|