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 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClutterScore: Clutter Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Clutter Reference Manual">
<link rel="up" href="deprecated.html" title="Part X. Deprecated Classes">
<link rel="prev" href="ClutterRectangle.html" title="ClutterRectangle">
<link rel="next" href="clutter-Shaders.html" title="Shaders">
<meta name="generator" content="GTK-Doc V1.29 (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="#ClutterScore.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#ClutterScore.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
<a href="#ClutterScore.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#ClutterScore.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="deprecated.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ClutterRectangle.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="clutter-Shaders.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="ClutterScore"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ClutterScore.top_of_page"></a>ClutterScore</span></h2>
<p>ClutterScore — Controller for multiple timelines</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="ClutterScore.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 class="link" href="ClutterScore.html" title="ClutterScore"><span class="returnvalue">ClutterScore</span></a> *
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-new" title="clutter_score_new ()">clutter_score_new</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="ClutterScore.html#clutter-score-set-loop" title="clutter_score_set_loop ()">clutter_score_set_loop</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-get-loop" title="clutter_score_get_loop ()">clutter_score_get_loop</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gulong</span>
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-append" title="clutter_score_append ()">clutter_score_append</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gulong</span>
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-append-at-marker" title="clutter_score_append_at_marker ()">clutter_score_append_at_marker</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="ClutterScore.html#clutter-score-remove" title="clutter_score_remove ()">clutter_score_remove</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="ClutterScore.html#clutter-score-remove-all" title="clutter_score_remove_all ()">clutter_score_remove_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="returnvalue">ClutterTimeline</span></a> *
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-get-timeline" title="clutter_score_get_timeline ()">clutter_score_get_timeline</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GSList</span> *
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-list-timelines" title="clutter_score_list_timelines ()">clutter_score_list_timelines</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="ClutterScore.html#clutter-score-start" title="clutter_score_start ()">clutter_score_start</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="ClutterScore.html#clutter-score-pause" title="clutter_score_pause ()">clutter_score_pause</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="ClutterScore.html#clutter-score-stop" title="clutter_score_stop ()">clutter_score_stop</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="ClutterScore.html#clutter-score-is-playing" title="clutter_score_is_playing ()">clutter_score_is_playing</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="ClutterScore.html#clutter-score-rewind" title="clutter_score_rewind ()">clutter_score_rewind</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterScore.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"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="ClutterScore.html#ClutterScore--loop" title="The “loop” property">loop</a></td>
<td class="property_flags">Read / Write</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterScore.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="ClutterScore.html#ClutterScore-completed" title="The “completed” signal">completed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="ClutterScore.html#ClutterScore-paused" title="The “paused” signal">paused</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="ClutterScore.html#ClutterScore-started" title="The “started” signal">started</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="ClutterScore.html#ClutterScore-timeline-completed" title="The “timeline-completed” signal">timeline-completed</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="ClutterScore.html#ClutterScore-timeline-started" title="The “timeline-started” signal">timeline-started</a></td>
<td class="signal_flags">Run Last</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterScore.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">struct</td>
<td class="function_name"><a class="link" href="ClutterScore.html#ClutterScore-struct" title="struct ClutterScore">ClutterScore</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="ClutterScore.html#ClutterScoreClass" title="struct ClutterScoreClass">ClutterScoreClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterScore.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GObject
<span class="lineart">╰──</span> ClutterScore
</pre>
</div>
<div class="refsect1">
<a name="ClutterScore.description"></a><h2>Description</h2>
<p><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> is a base class for sequencing multiple timelines in order.
Using <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> it is possible to start multiple timelines at the
same time or launch multiple timelines when a particular timeline has
emitted the ClutterTimeline::completed signal.</p>
<p>Each time a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> is started and completed, a signal will be
emitted.</p>
<p>For example, this code will start two <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>s after
a third timeline terminates:</p>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="usertype">ClutterTimeline</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">timeline_1</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">timeline_2</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">timeline_3</span><span class="symbol">;</span>
<span class="usertype">ClutterScore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">score</span><span class="symbol">;</span>
<span class="normal">timeline_1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_timeline_new_for_duration</span><span class="normal"> </span><span class="symbol">(</span><span class="number">1000</span><span class="symbol">);</span>
<span class="normal">timeline_2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_timeline_new_for_duration</span><span class="normal"> </span><span class="symbol">(</span><span class="number">500</span><span class="symbol">);</span>
<span class="normal">timeline_3 </span><span class="symbol">=</span><span class="normal"> </span><span class="function">clutter_timeline_new_for_duration</span><span class="normal"> </span><span class="symbol">(</span><span class="number">500</span><span class="symbol">);</span>
<span class="normal">score </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="ClutterScore.html#clutter-score-new">clutter_score_new</a></span><span class="normal"> </span><span class="symbol">();</span>
<span class="function"><a href="ClutterScore.html#clutter-score-append">clutter_score_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">score</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> timeline_1</span><span class="symbol">);</span>
<span class="function"><a href="ClutterScore.html#clutter-score-append">clutter_score_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">score</span><span class="symbol">,</span><span class="normal"> timeline_1</span><span class="symbol">,</span><span class="normal"> timeline_2</span><span class="symbol">);</span>
<span class="function"><a href="ClutterScore.html#clutter-score-append">clutter_score_append</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">score</span><span class="symbol">,</span><span class="normal"> timeline_1</span><span class="symbol">,</span><span class="normal"> timeline_3</span><span class="symbol">);</span>
<span class="function"><a href="ClutterScore.html#clutter-score-start">clutter_score_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">score</span><span class="symbol">);</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<p>A <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> takes a reference on the timelines it manages,
so timelines can be safely unreferenced after being appended.</p>
<p>New timelines can be appended to the <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> using
<a class="link" href="ClutterScore.html#clutter-score-append" title="clutter_score_append ()"><code class="function">clutter_score_append()</code></a> and removed using <a class="link" href="ClutterScore.html#clutter-score-remove" title="clutter_score_remove ()"><code class="function">clutter_score_remove()</code></a>.</p>
<p>Timelines can also be appended to a specific marker on the
parent timeline, using <a class="link" href="ClutterScore.html#clutter-score-append-at-marker" title="clutter_score_append_at_marker ()"><code class="function">clutter_score_append_at_marker()</code></a>.</p>
<p>The score can be cleared using <a class="link" href="ClutterScore.html#clutter-score-remove-all" title="clutter_score_remove_all ()"><code class="function">clutter_score_remove_all()</code></a>.</p>
<p>The list of timelines can be retrieved using
<a class="link" href="ClutterScore.html#clutter-score-list-timelines" title="clutter_score_list_timelines ()"><code class="function">clutter_score_list_timelines()</code></a>.</p>
<p>The score state is controlled using <a class="link" href="ClutterScore.html#clutter-score-start" title="clutter_score_start ()"><code class="function">clutter_score_start()</code></a>,
<a class="link" href="ClutterScore.html#clutter-score-pause" title="clutter_score_pause ()"><code class="function">clutter_score_pause()</code></a>, <a class="link" href="ClutterScore.html#clutter-score-stop" title="clutter_score_stop ()"><code class="function">clutter_score_stop()</code></a> and <a class="link" href="ClutterScore.html#clutter-score-rewind" title="clutter_score_rewind ()"><code class="function">clutter_score_rewind()</code></a>.
The state can be queried using <a class="link" href="ClutterScore.html#clutter-score-is-playing" title="clutter_score_is_playing ()"><code class="function">clutter_score_is_playing()</code></a>.</p>
<p><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> is available since Clutter 0.6</p>
</div>
<div class="refsect1">
<a name="ClutterScore.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="clutter-score-new"></a><h3>clutter_score_new ()</h3>
<pre class="programlisting"><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="returnvalue">ClutterScore</span></a> *
clutter_score_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_new</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Creates a new <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a>. A <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> is an object that can
hold multiple <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>s in a sequential order.</p>
<div class="refsect3">
<a name="clutter-score-new.returns"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a>. Use <code class="function">g_object_unref()</code>
when done.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-set-loop"></a><h3>clutter_score_set_loop ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_set_loop (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> loop</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_set_loop</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Sets whether <em class="parameter"><code>score</code></em>
should loop. A looping <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> will start
from its initial state after the ::complete signal has been fired.</p>
<div class="refsect3">
<a name="clutter-score-set-loop.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>loop</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> for enable looping</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-get-loop"></a><h3>clutter_score_get_loop ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
clutter_score_get_loop (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_get_loop</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Gets whether <em class="parameter"><code>score</code></em>
is looping</p>
<div class="refsect3">
<a name="clutter-score-get-loop.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="clutter-score-get-loop.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the score is looping</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-append"></a><h3>clutter_score_append ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
clutter_score_append (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>,
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *parent</code></em>,
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_append</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Appends a timeline to another one existing in the score; the newly
appended timeline will be started when <em class="parameter"><code>parent</code></em>
is complete.</p>
<p>If <em class="parameter"><code>parent</code></em>
is <code class="literal">NULL</code>, the new <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> will be started when
<a class="link" href="ClutterScore.html#clutter-score-start" title="clutter_score_start ()"><code class="function">clutter_score_start()</code></a> is called.</p>
<p><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> will take a reference on <em class="parameter"><code>timeline</code></em>
.</p>
<div class="refsect3">
<a name="clutter-score-append.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> in the score, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>timeline</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="clutter-score-append.returns"></a><h4>Returns</h4>
<p> the id of the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> inside the score, or
0 on failure. The returned id can be used with <a class="link" href="ClutterScore.html#clutter-score-remove" title="clutter_score_remove ()"><code class="function">clutter_score_remove()</code></a>
or <a class="link" href="ClutterScore.html#clutter-score-get-timeline" title="clutter_score_get_timeline ()"><code class="function">clutter_score_get_timeline()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-append-at-marker"></a><h3>clutter_score_append_at_marker ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
clutter_score_append_at_marker (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>,
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *marker_name</code></em>,
<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_append_at_marker</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Appends <em class="parameter"><code>timeline</code></em>
at the given <em class="parameter"><code>marker_name</code></em>
on the <em class="parameter"><code>parent</code></em>
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>.</p>
<p>If you want to append <em class="parameter"><code>timeline</code></em>
at the end of <em class="parameter"><code>parent</code></em>
, use
<a class="link" href="ClutterScore.html#clutter-score-append" title="clutter_score_append ()"><code class="function">clutter_score_append()</code></a>.</p>
<p>The <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> will take a reference on <em class="parameter"><code>timeline</code></em>
.</p>
<div class="refsect3">
<a name="clutter-score-append-at-marker.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>the parent <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>marker_name</p></td>
<td class="parameter_description"><p>the name of the marker to use</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeline</p></td>
<td class="parameter_description"><p>the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> to append</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="clutter-score-append-at-marker.returns"></a><h4>Returns</h4>
<p> the id of the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> inside the score, or
0 on failure. The returned id can be used with <a class="link" href="ClutterScore.html#clutter-score-remove" title="clutter_score_remove ()"><code class="function">clutter_score_remove()</code></a>
or <a class="link" href="ClutterScore.html#clutter-score-get-timeline" title="clutter_score_get_timeline ()"><code class="function">clutter_score_get_timeline()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.8">0.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-remove"></a><h3>clutter_score_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_remove (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>,
<em class="parameter"><code><span class="type">gulong</span> id_</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_remove</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Removes the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> with the given id inside <em class="parameter"><code>score</code></em>
. If
the timeline has other timelines attached to it, those are removed
as well.</p>
<div class="refsect3">
<a name="clutter-score-remove.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>id_</p></td>
<td class="parameter_description"><p>the id of the timeline to remove</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-remove-all"></a><h3>clutter_score_remove_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_remove_all (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_remove_all</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Removes all the timelines inside <em class="parameter"><code>score</code></em>
.</p>
<div class="refsect3">
<a name="clutter-score-remove-all.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-get-timeline"></a><h3>clutter_score_get_timeline ()</h3>
<pre class="programlisting"><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="returnvalue">ClutterTimeline</span></a> *
clutter_score_get_timeline (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>,
<em class="parameter"><code><span class="type">gulong</span> id_</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_get_timeline</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Retrieves the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> for <em class="parameter"><code>id_</code></em>
inside <em class="parameter"><code>score</code></em>
.</p>
<div class="refsect3">
<a name="clutter-score-get-timeline.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>id_</p></td>
<td class="parameter_description"><p>the id of the timeline</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="clutter-score-get-timeline.returns"></a><h4>Returns</h4>
<p>the requested timeline, or <code class="literal">NULL</code>. This
function does not increase the reference count on the returned
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</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>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-list-timelines"></a><h3>clutter_score_list_timelines ()</h3>
<pre class="programlisting"><span class="returnvalue">GSList</span> *
clutter_score_list_timelines (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_list_timelines</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Retrieves a list of all the <a href="ClutterTimeline.html#ClutterTimeline-struct"><span class="type">ClutterTimelines</span></a> managed by <em class="parameter"><code>score</code></em>
.</p>
<div class="refsect3">
<a name="clutter-score-list-timelines.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="clutter-score-list-timelines.returns"></a><h4>Returns</h4>
<p>a
<span class="type">GSList</span> containing all the timelines in the score. This function does
not increase the reference count of the returned timelines. Use
<code class="function">g_slist_free()</code> on the returned list to deallocate its resources. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> Clutter.Timeline]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-start"></a><h3>clutter_score_start ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_start (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_start</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Starts the score.</p>
<div class="refsect3">
<a name="clutter-score-start.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>score</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-pause"></a><h3>clutter_score_pause ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_pause (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_pause</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Pauses a playing score <em class="parameter"><code>score</code></em>
.</p>
<div class="refsect3">
<a name="clutter-score-pause.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>score</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-stop"></a><h3>clutter_score_stop ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_stop (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_stop</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Stops and rewinds a playing <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> instance.</p>
<div class="refsect3">
<a name="clutter-score-stop.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>score</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-is-playing"></a><h3>clutter_score_is_playing ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
clutter_score_is_playing (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_is_playing</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Query state of a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> instance.</p>
<div class="refsect3">
<a name="clutter-score-is-playing.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>score</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="clutter-score-is-playing.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if score is currently playing</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-score-rewind"></a><h3>clutter_score_rewind ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_score_rewind (<em class="parameter"><code><a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_score_rewind</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Rewinds a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> to its initial state.</p>
<div class="refsect3">
<a name="clutter-score-rewind.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>score</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
</div>
<div class="refsect1">
<a name="ClutterScore.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ClutterScore-struct"></a><h3>struct ClutterScore</h3>
<pre class="programlisting">struct ClutterScore;</pre>
<p>The <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> structure contains only private data
and should be accessed using the provided API</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterScoreClass"></a><h3>struct ClutterScoreClass</h3>
<pre class="programlisting">struct ClutterScoreClass {
void (* timeline_started) (ClutterScore *score,
ClutterTimeline *timeline);
void (* timeline_completed) (ClutterScore *score,
ClutterTimeline *timeline);
void (* started) (ClutterScore *score);
void (* completed) (ClutterScore *score);
void (* paused) (ClutterScore *score);
};
</pre>
<p>The <a class="link" href="ClutterScore.html#ClutterScoreClass" title="struct ClutterScoreClass"><span class="type">ClutterScoreClass</span></a> structure contains only private data</p>
<div class="refsect3">
<a name="ClutterScoreClass.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="ClutterScoreClass.timeline-started"></a>timeline_started</code></em> ()</p></td>
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterScore.html#ClutterScore-timeline-started" title="The “timeline-started” signal"><span class="type">“timeline-started”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterScoreClass.timeline-completed"></a>timeline_completed</code></em> ()</p></td>
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterScore.html#ClutterScore-timeline-completed" title="The “timeline-completed” signal"><span class="type">“timeline-completed”</span></a>
signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterScoreClass.started"></a>started</code></em> ()</p></td>
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterScore.html#ClutterScore-started" title="The “started” signal"><span class="type">“started”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterScoreClass.completed"></a>completed</code></em> ()</p></td>
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterScore.html#ClutterScore-completed" title="The “completed” signal"><span class="type">“completed”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="ClutterScoreClass.paused"></a>paused</code></em> ()</p></td>
<td class="struct_member_description"><p>handler for the <a class="link" href="ClutterScore.html#ClutterScore-paused" title="The “paused” signal"><span class="type">“paused”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
</div>
<div class="refsect1">
<a name="ClutterScore.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ClutterScore--loop"></a><h3>The <code class="literal">“loop”</code> property</h3>
<pre class="programlisting"> “loop” <span class="type">gboolean</span></pre>
<p>Whether the <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> should restart once finished.</p>
<div class="warning"><p><code class="literal">ClutterScore:loop</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
</div>
<div class="refsect1">
<a name="ClutterScore.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="ClutterScore-completed"></a><h3>The <code class="literal">“completed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::completed signal is emitted each time a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> terminates.</p>
<div class="warning"><p><code class="literal">ClutterScore::completed</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="ClutterScore-completed.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>score</p></td>
<td class="parameter_description"><p>the score which received the signal</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: Run Last</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterScore-paused"></a><h3>The <code class="literal">“paused”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::paused signal is emitted each time a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a>
is paused.</p>
<div class="warning"><p><code class="literal">ClutterScore::paused</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="ClutterScore-paused.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>score</p></td>
<td class="parameter_description"><p>the score which received the signal</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: Run Last</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterScore-started"></a><h3>The <code class="literal">“started”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::started signal is emitted each time a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> starts playing.</p>
<div class="warning"><p><code class="literal">ClutterScore::started</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="ClutterScore-started.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>score</p></td>
<td class="parameter_description"><p>the score which received the signal</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: Run Last</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterScore-timeline-completed"></a><h3>The <code class="literal">“timeline-completed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score,
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::timeline-completed signal is emitted each time a timeline
inside a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> terminates.</p>
<div class="warning"><p><code class="literal">ClutterScore::timeline-completed</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="ClutterScore-timeline-completed.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>score</p></td>
<td class="parameter_description"><p>the score which received the signal</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeline</p></td>
<td class="parameter_description"><p>the completed timeline</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: Run Last</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterScore-timeline-started"></a><h3>The <code class="literal">“timeline-started”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> *score,
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::timeline-started signal is emitted each time a new timeline
inside a <a class="link" href="ClutterScore.html" title="ClutterScore"><span class="type">ClutterScore</span></a> starts playing.</p>
<div class="warning"><p><code class="literal">ClutterScore::timeline-started</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="ClutterScore-timeline-started.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>score</p></td>
<td class="parameter_description"><p>the score which received the signal</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeline</p></td>
<td class="parameter_description"><p>the current timeline</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: Run Last</p>
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.6">0.6</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>
|