This file is indexed.

/usr/share/gtk-doc/html/clutter/ClutterAlpha.html is in libclutter-1.0-doc 1.20.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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Clutter Reference Manual: ClutterAlpha</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Clutter Reference Manual">
<link rel="up" href="deprecated.html" title="Part IX. Deprecated Classes">
<link rel="prev" href="deprecated.html" title="Part IX. Deprecated Classes">
<link rel="next" href="clutter-Implicit-Animations.html" title="Implicit Animations">
<meta name="generator" content="GTK-Doc V1.21 (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="#ClutterAlpha.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#ClutterAlpha.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#ClutterAlpha.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#ClutterAlpha.properties" class="shortcut">Properties</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="deprecated.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="clutter-Implicit-Animations.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="ClutterAlpha"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ClutterAlpha.top_of_page"></a>ClutterAlpha</span></h2>
<p>ClutterAlpha — A class for calculating a value as a function of time</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="ClutterAlpha.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()">*ClutterAlphaFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> *
</td>
<td class="function_name">
<a class="link" href="ClutterAlpha.html#clutter-alpha-new" title="clutter_alpha_new ()">clutter_alpha_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> *
</td>
<td class="function_name">
<a class="link" href="ClutterAlpha.html#clutter-alpha-new-full" title="clutter_alpha_new_full ()">clutter_alpha_new_full</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> *
</td>
<td class="function_name">
<a class="link" href="ClutterAlpha.html#clutter-alpha-new-with-func" title="clutter_alpha_new_with_func ()">clutter_alpha_new_with_func</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="ClutterAlpha.html#clutter-alpha-set-timeline" title="clutter_alpha_set_timeline ()">clutter_alpha_set_timeline</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="ClutterAlpha.html#clutter-alpha-get-timeline" title="clutter_alpha_get_timeline ()">clutter_alpha_get_timeline</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="ClutterAlpha.html#clutter-alpha-set-mode" title="clutter_alpha_set_mode ()">clutter_alpha_set_mode</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="ClutterAlpha.html#clutter-alpha-get-mode" title="clutter_alpha_get_mode ()">clutter_alpha_get_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gdouble</span>
</td>
<td class="function_name">
<a class="link" href="ClutterAlpha.html#clutter-alpha-get-alpha" title="clutter_alpha_get_alpha ()">clutter_alpha_get_alpha</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="ClutterAlpha.html#clutter-alpha-set-func" title="clutter_alpha_set_func ()">clutter_alpha_set_func</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="ClutterAlpha.html#clutter-alpha-set-closure" title="clutter_alpha_set_closure ()">clutter_alpha_set_closure</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="ClutterAlpha.html#clutter-alpha-register-closure" title="clutter_alpha_register_closure ()">clutter_alpha_register_closure</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="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()">clutter_alpha_register_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterAlpha.properties"></a><h2>Properties</h2>
<div class="informaltable"><table 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">gdouble</span></td>
<td class="property_name"><a class="link" href="ClutterAlpha.html#ClutterAlpha--alpha" title="The “alpha” property">alpha</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><span class="type">gulong</span></td>
<td class="property_name"><a class="link" href="ClutterAlpha.html#ClutterAlpha--mode" title="The “mode” property">mode</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *</td>
<td class="property_name"><a class="link" href="ClutterAlpha.html#ClutterAlpha--timeline" title="The “timeline” property">timeline</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterAlpha.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table 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="ClutterAlpha.html#ClutterAlpha-struct" title="ClutterAlpha">ClutterAlpha</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="ClutterAlpha.html#ClutterAlphaClass" title="struct ClutterAlphaClass">ClutterAlphaClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ClutterAlpha.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GInitiallyUnowned
        <span class="lineart">╰──</span> ClutterAlpha
</pre>
</div>
<div class="refsect1">
<a name="ClutterAlpha.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
ClutterAlpha implements
 <a class="link" href="ClutterScriptable.html" title="ClutterScriptable">ClutterScriptable</a>.</p>
</div>
<div class="refsect1">
<a name="ClutterAlpha.description"></a><h2>Description</h2>
<p><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> is a class for calculating an floating point value
dependent only on the position of a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>.</p>
<p>For newly written code, it is recommended to use the
<a class="link" href="ClutterTimeline.html#ClutterTimeline--progress-mode" title="The “progress-mode” property"><span class="type">“progress-mode”</span></a> property of <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>, or the
<a class="link" href="ClutterTimeline.html#clutter-timeline-set-progress-func" title="clutter_timeline_set_progress_func ()"><code class="function">clutter_timeline_set_progress_func()</code></a> function instead of <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>.
The <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> class will be deprecated in the future, and will not
be available any more in the next major version of Clutter.</p>
<p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> binds a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> to a progress function which
translates the time T into an adimensional factor alpha. The factor can
then be used to drive a <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a>, which will translate the
alpha value into something meaningful for a <a class="link" href="ClutterActor.html" title="ClutterActor"><span class="type">ClutterActor</span></a>.</p>
<p>You should provide a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> and bind it to the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
instance using <a class="link" href="ClutterAlpha.html#clutter-alpha-set-timeline" title="clutter_alpha_set_timeline ()"><code class="function">clutter_alpha_set_timeline()</code></a>. You should also set an
"animation mode", either by using the <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> values that
Clutter itself provides or by registering custom functions using
<a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>.</p>
<p>Instead of a <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> you may provide a function returning
the alpha value depending on the progress of the timeline, using
<a class="link" href="ClutterAlpha.html#clutter-alpha-set-func" title="clutter_alpha_set_func ()"><code class="function">clutter_alpha_set_func()</code></a> or <a class="link" href="ClutterAlpha.html#clutter-alpha-set-closure" title="clutter_alpha_set_closure ()"><code class="function">clutter_alpha_set_closure()</code></a>. The alpha
function will be executed each time a new frame in the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>
is reached.</p>
<p>Since the alpha function is controlled by the timeline instance, you can
pause, stop or resume the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> from calling the alpha function by
using the appropriate functions of the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> object.</p>
<p><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> is used to "drive" a <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> instance, and it
is internally used by the <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> API.</p>
<p><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> is available since Clutter 0.2.</p>
<p><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> is deprecated since Clutter 1.12; use <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> and the
<a class="link" href="ClutterTimeline.html#ClutterTimeline--progress-mode" title="The “progress-mode” property"><span class="type">“progress-mode”</span></a> property.</p>
<div class="refsect3">
<a name="id-1.10.2.8.11"></a><h4>ClutterAlpha custom properties for <a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a>
</h4>
<p><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> defines a custom <code class="literal">function</code> property for
<a class="link" href="ClutterScript.html" title="ClutterScript"><span class="type">ClutterScript</span></a> which allows to reference a custom alpha function
available in the source code. Setting the <code class="literal">function</code> property
is equivalent to calling <a class="link" href="ClutterAlpha.html#clutter-alpha-set-func" title="clutter_alpha_set_func ()"><code class="function">clutter_alpha_set_func()</code></a> with the
specified function name. No user data or <span class="type">GDestroyNotify</span> is
available to be passed.</p>
<p>The following JSON fragment defines a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
using a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> with id "sine-timeline" and an alpha
function called <code class="literal">my_sine_alpha</code>. The defined <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a>
instance can be reused in multiple <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a>
definitions or for <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a> definitions.</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</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="gtkdoc opt">{</span>
  <span class="string">&quot;id&quot;</span> <span class="gtkdoc opt">:</span> <span class="string">&quot;sine-alpha&quot;</span><span class="gtkdoc opt">,</span>
  <span class="string">&quot;timeline&quot;</span> <span class="gtkdoc opt">: {</span>
    <span class="string">&quot;id&quot;</span> <span class="gtkdoc opt">:</span> <span class="string">&quot;sine-timeline&quot;</span><span class="gtkdoc opt">,</span>
    <span class="string">&quot;duration&quot;</span> <span class="gtkdoc opt">:</span> <span class="number">500</span><span class="gtkdoc opt">,</span>
    <span class="string">&quot;loop&quot;</span> <span class="gtkdoc opt">:</span> <span class="keyword">true</span>
  <span class="gtkdoc opt">},</span>
  <span class="string">&quot;function&quot;</span> <span class="gtkdoc opt">:</span> <span class="string">&quot;my_sine_alpha&quot;</span>
<span class="gtkdoc opt">}</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
</div>
</div>
<div class="refsect1">
<a name="ClutterAlpha.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="ClutterAlphaFunc"></a><h3>ClutterAlphaFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
<span class="c_punctuation">(</span>*ClutterAlphaFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
                     <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>A function returning a value depending on the position of
the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> bound to <em class="parameter"><code>alpha</code></em>
.</p>
<div class="refsect3">
<a name="id-1.10.2.9.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></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 passed to the function</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.2.6"></a><h4>Returns</h4>
<p> a floating point value</p>
<p></p>
</div>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-new"></a><h3>clutter_alpha_new ()</h3>
<pre class="programlisting"><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> *
clutter_alpha_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_new</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Creates a new <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instance.  You must set a function
to compute the alpha value using <a class="link" href="ClutterAlpha.html#clutter-alpha-set-func" title="clutter_alpha_set_func ()"><code class="function">clutter_alpha_set_func()</code></a> and
bind a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> object to the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instance
using <a class="link" href="ClutterAlpha.html#clutter-alpha-set-timeline" title="clutter_alpha_set_timeline ()"><code class="function">clutter_alpha_set_timeline()</code></a>.</p>
<p>You should use the newly created <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instance inside
a <a class="link" href="ClutterBehaviour.html" title="ClutterBehaviour"><span class="type">ClutterBehaviour</span></a> object.</p>
<div class="refsect3">
<a name="id-1.10.2.9.3.8"></a><h4>Returns</h4>
<p> the newly created empty <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instance.</p>
<p></p>
</div>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-new-full"></a><h3>clutter_alpha_new_full ()</h3>
<pre class="programlisting"><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> *
clutter_alpha_new_full (<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>,
                        <em class="parameter"><code><span class="type">gulong</span> mode</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_new_full</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Creates a new <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instance and sets the timeline
and animation mode.</p>
<p>See also <a class="link" href="ClutterAlpha.html#clutter-alpha-set-timeline" title="clutter_alpha_set_timeline ()"><code class="function">clutter_alpha_set_timeline()</code></a> and <a class="link" href="ClutterAlpha.html#clutter-alpha-set-mode" title="clutter_alpha_set_mode ()"><code class="function">clutter_alpha_set_mode()</code></a>.</p>
<div class="refsect3">
<a name="id-1.10.2.9.4.8"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>timeline</p></td>
<td class="parameter_description"><p><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> timeline</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>animation mode</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.4.9"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p>
<p></p>
</div>
<p class="since">Since 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-new-with-func"></a><h3>clutter_alpha_new_with_func ()</h3>
<pre class="programlisting"><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="returnvalue">ClutterAlpha</span></a> *
clutter_alpha_new_with_func (<em class="parameter"><code><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *timeline</code></em>,
                             <em class="parameter"><code><a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a> func</code></em>,
                             <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
                             <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_new_with_func</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Creates a new <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> instances and sets the timeline
and the alpha function.</p>
<p>This function will not register <em class="parameter"><code>func</code></em>
 as a global alpha function.</p>
<p>See also <a class="link" href="ClutterAlpha.html#clutter-alpha-set-timeline" title="clutter_alpha_set_timeline ()"><code class="function">clutter_alpha_set_timeline()</code></a> and <a class="link" href="ClutterAlpha.html#clutter-alpha-set-func" title="clutter_alpha_set_func ()"><code class="function">clutter_alpha_set_func()</code></a>.</p>
<div class="refsect3">
<a name="id-1.10.2.9.5.9"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>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>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>data to pass to the function, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>function to call when removing the alpha function, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.5.10"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p>
<p></p>
</div>
<p class="since">Since 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-set-timeline"></a><h3>clutter_alpha_set_timeline ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_alpha_set_timeline (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</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_alpha_set_timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Binds <em class="parameter"><code>alpha</code></em>
 to <em class="parameter"><code>timeline</code></em>
.</p>
<div class="refsect3">
<a name="id-1.10.2.9.6.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </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>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-get-timeline"></a><h3>clutter_alpha_get_timeline ()</h3>
<pre class="programlisting"><a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="returnvalue">ClutterTimeline</span></a> *
clutter_alpha_get_timeline (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_get_timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Gets the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> bound to <em class="parameter"><code>alpha</code></em>
.</p>
<div class="refsect3">
<a name="id-1.10.2.9.7.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.7.8"></a><h4>Returns</h4>
<p> a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> instance. </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 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-set-mode"></a><h3>clutter_alpha_set_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_alpha_set_mode (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
                        <em class="parameter"><code><span class="type">gulong</span> mode</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_set_mode</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Sets the progress function of <em class="parameter"><code>alpha</code></em>
 using the symbolic value
of <em class="parameter"><code>mode</code></em>
, as taken by the <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> enumeration or
using the value returned by <a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>.</p>
<div class="refsect3">
<a name="id-1.10.2.9.8.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-get-mode"></a><h3>clutter_alpha_get_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
clutter_alpha_get_mode (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_get_mode</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Retrieves the <a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> used by <em class="parameter"><code>alpha</code></em>
.</p>
<div class="refsect3">
<a name="id-1.10.2.9.9.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.9.8"></a><h4>Returns</h4>
<p> the animation mode</p>
<p></p>
</div>
<p class="since">Since 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-get-alpha"></a><h3>clutter_alpha_get_alpha ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>
clutter_alpha_get_alpha (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_get_alpha</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Query the current alpha value.</p>
<div class="refsect3">
<a name="id-1.10.2.9.10.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.10.8"></a><h4>Returns</h4>
<p> The current alpha value for the alpha</p>
<p></p>
</div>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-set-func"></a><h3>clutter_alpha_set_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_alpha_set_func (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
                        <em class="parameter"><code><a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a> func</code></em>,
                        <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
                        <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_set_func</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Sets the <a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a> function used to compute
the alpha value at each frame of the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a>
bound to <em class="parameter"><code>alpha</code></em>
.</p>
<p>This function will not register <em class="parameter"><code>func</code></em>
 as a global alpha function.</p>
<div class="refsect3">
<a name="id-1.10.2.9.11.8"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data to be passed to the alpha function, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy</p></td>
<td class="parameter_description"><p>notify function used when disposing the alpha function</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-set-closure"></a><h3>clutter_alpha_set_closure ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
clutter_alpha_set_closure (<em class="parameter"><code><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> *alpha</code></em>,
                           <em class="parameter"><code><span class="type">GClosure</span> *closure</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_set_closure</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Sets the <span class="type">GClosure</span> used to compute the alpha value at each
frame of the <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> bound to <em class="parameter"><code>alpha</code></em>
.</p>
<div class="refsect3">
<a name="id-1.10.2.9.12.7"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>alpha</p></td>
<td class="parameter_description"><p>A <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>closure</p></td>
<td class="parameter_description"><p>A <span class="type">GClosure</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 0.8</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-register-closure"></a><h3>clutter_alpha_register_closure ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
clutter_alpha_register_closure (<em class="parameter"><code><span class="type">GClosure</span> *closure</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_register_closure</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p><span class="type">GClosure</span> variant of <a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>.</p>
<p>Registers a global alpha function and returns its logical id
to be used by <a class="link" href="ClutterAlpha.html#clutter-alpha-set-mode" title="clutter_alpha_set_mode ()"><code class="function">clutter_alpha_set_mode()</code></a> or by <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>.</p>
<p>The logical id is always greater than <a class="link" href="ClutterTimeline.html#CLUTTER-ANIMATION-LAST:CAPS"><code class="literal">CLUTTER_ANIMATION_LAST</code></a>.</p>
<p>Rename to: clutter_alpha_register_func</p>
<div class="refsect3">
<a name="id-1.10.2.9.13.10"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>closure</p></td>
<td class="parameter_description"><p>a <span class="type">GClosure</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.13.11"></a><h4>Returns</h4>
<p> the logical id of the alpha function</p>
<p></p>
</div>
<p class="since">Since 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="clutter-alpha-register-func"></a><h3>clutter_alpha_register_func ()</h3>
<pre class="programlisting"><span class="returnvalue">gulong</span>
clutter_alpha_register_func (<em class="parameter"><code><a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a> func</code></em>,
                             <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
<div class="warning"><p><code class="literal">clutter_alpha_register_func</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Registers a global alpha function and returns its logical id
to be used by <a class="link" href="ClutterAlpha.html#clutter-alpha-set-mode" title="clutter_alpha_set_mode ()"><code class="function">clutter_alpha_set_mode()</code></a> or by <a class="link" href="clutter-Implicit-Animations.html#ClutterAnimation"><span class="type">ClutterAnimation</span></a>.</p>
<p>The logical id is always greater than <a class="link" href="ClutterTimeline.html#CLUTTER-ANIMATION-LAST:CAPS"><code class="literal">CLUTTER_ANIMATION_LAST</code></a>.</p>
<div class="refsect3">
<a name="id-1.10.2.9.14.8"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>func</p></td>
<td class="parameter_description"><p>a <a class="link" href="ClutterAlpha.html#ClutterAlphaFunc" title="ClutterAlphaFunc ()"><span class="type">ClutterAlphaFunc</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>func</code></em>
, or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.10.2.9.14.9"></a><h4>Returns</h4>
<p> the logical id of the alpha function</p>
<p></p>
</div>
<p class="since">Since 1.0</p>
</div>
</div>
<div class="refsect1">
<a name="ClutterAlpha.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ClutterAlpha-struct"></a><h3>ClutterAlpha</h3>
<pre class="programlisting">typedef struct _ClutterAlpha ClutterAlpha;</pre>
<p><a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> combines a <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> and a function.
The contents of the <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a> structure are private and should
only be accessed using the provided API.</p>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterAlphaClass"></a><h3>struct ClutterAlphaClass</h3>
<pre class="programlisting">struct ClutterAlphaClass {
};
</pre>
<p>Base class for <a class="link" href="ClutterAlpha.html" title="ClutterAlpha"><span class="type">ClutterAlpha</span></a></p>
<p class="since">Since 0.2</p>
</div>
</div>
<div class="refsect1">
<a name="ClutterAlpha.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ClutterAlpha--alpha"></a><h3>The <code class="literal">“alpha”</code> property</h3>
<pre class="programlisting">  “alpha”                    <span class="type">gdouble</span></pre>
<p>The alpha value as computed by the alpha function. The linear
interval is 0.0 to 1.0, but the Alpha allows overshooting by
one unit in each direction, so the valid interval is -1.0 to 2.0.</p>
<div class="warning"><p><code class="literal">ClutterAlpha:alpha</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Flags: Read</p>
<p>Allowed values: [-1,2]</p>
<p>Default value: 0</p>
<p class="since">Since 0.2</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterAlpha--mode"></a><h3>The <code class="literal">“mode”</code> property</h3>
<pre class="programlisting">  “mode”                     <span class="type">gulong</span></pre>
<p>The progress function logical id - either a value from the
<a class="link" href="ClutterTimeline.html#ClutterAnimationMode" title="enum ClutterAnimationMode"><span class="type">ClutterAnimationMode</span></a> enumeration or a value returned by
<a class="link" href="ClutterAlpha.html#clutter-alpha-register-func" title="clutter_alpha_register_func ()"><code class="function">clutter_alpha_register_func()</code></a>.</p>
<p>If <a class="link" href="ClutterTimeline.html#CLUTTER-CUSTOM-MODE:CAPS"><code class="literal">CLUTTER_CUSTOM_MODE</code></a> is used then the function set using
<a class="link" href="ClutterAlpha.html#clutter-alpha-set-closure" title="clutter_alpha_set_closure ()"><code class="function">clutter_alpha_set_closure()</code></a> or <a class="link" href="ClutterAlpha.html#clutter-alpha-set-func" title="clutter_alpha_set_func ()"><code class="function">clutter_alpha_set_func()</code></a>
will be used.</p>
<div class="warning"><p><code class="literal">ClutterAlpha:mode</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Flags: Read / Write / Construct</p>
<p class="since">Since 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="ClutterAlpha--timeline"></a><h3>The <code class="literal">“timeline”</code> property</h3>
<pre class="programlisting">  “timeline”                 <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> *</pre>
<p>A <a class="link" href="ClutterTimeline.html" title="ClutterTimeline"><span class="type">ClutterTimeline</span></a> instance used to drive the alpha function.</p>
<div class="warning"><p><code class="literal">ClutterAlpha:timeline</code> has been deprecated since version 1.12 and should not be used in newly-written code.</p></div>
<p>Flags: Read / Write</p>
<p class="since">Since 0.2</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.21</div>
</body>
</html>