summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2012-06-13 09:09:56 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2012-06-13 09:09:56 +0100
commit60967127b441b610384f875556de34cc6205df70 (patch)
treefd103a184b2c22ff0243f0ea7339774d89e29827
parente01f9f330dc87f308d2a064eae4d7f75fe66ee8d (diff)
downloadclutter-60967127b441b610384f875556de34cc6205df70.tar.gz
docs: Mention the Timeline::stopped signal in the class description
Now that we have the ::stopped signal, it would be good if the documentation mentioned it explicitly as the dual of the ::started signal.
-rw-r--r--clutter/clutter-timeline.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/clutter/clutter-timeline.c b/clutter/clutter-timeline.c
index 55a17a884..64fbd3519 100644
--- a/clutter/clutter-timeline.c
+++ b/clutter/clutter-timeline.c
@@ -50,10 +50,11 @@
* signal.
*
* Initial state can be set up by using the #ClutterTimeline::started signal,
- * while final state can be set up by using the #ClutterTimeline::completed
+ * while final state can be set up by using the #ClutterTimeline::stopped
* signal. The #ClutterTimeline guarantees the emission of at least a single
* #ClutterTimeline::new-frame signal, as well as the emission of the
- * #ClutterTimeline::completed signal.
+ * #ClutterTimeline::completed signal every time the #ClutterTimeline reaches
+ * its #ClutterTimeline:duration.
*
* It is possible to connect to specific points in the timeline progress by
* adding <emphasis>markers</emphasis> using clutter_timeline_add_marker_at_time()
@@ -62,7 +63,8 @@
* Timelines can be made to loop once they reach the end of their duration, by
* using clutter_timeline_set_repeat_count(); a looping timeline will still
* emit the #ClutterTimeline::completed signal once it reaches the end of its
- * duration.
+ * duration at each repeat. If you want to be notified of the end of the last
+ * repeat, use the #ClutterTimeline::stopped signal.
*
* Timelines have a #ClutterTimeline:direction: the default direction is
* %CLUTTER_TIMELINE_FORWARD, and goes from 0 to the duration; it is possible