Markers seem to be designed to run a timeline at a point in another timeline. Is there any way to run an ordinary method at a marker, rather than a timeline?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
no, markers on ClutterTimeline can run any function. just use the ClutterTimeline::marker-reached signal. if you are interested in a specific marker, you can detail the signal using the marker name, e.g.:
and the timeline will call the *on_my_marker_reached* callback when the marker my-marker has been reached.