Pyclutter Timelines -- what am I missing?

Ryan Rix ry at n.rix.si
Sun Dec 20 05:58:26 UTC 2009


Hello everyone,

I am trying to use Pyclutter to get a nice working interface for Fedora-tour 
since standard pygtk doesn't really fit the needs for the dynamic user 
interface we want to create. 

Unfortunately, the code I'm trying to use to create a Timeline doesn't work, 
and the documentation on pyclutter seems to be fairly sparse.

	self.timeline = clutter.Timeline()
	self.timeline.set_duration(500)
	self.timeline.set_speed(20)

This should create a working timeline according to [1] but it doesn't, with 
python complaining about the set_duration method and, I'd assume, the 
set_speed method. The constructor for the Timeline should support setting 
these, but that also dies horribly...

Could someone with some expertise in pyclutter give me a helping hand with 
this code?

[1]: http://www.clutter-project.org/docs/pyclutter/0.9/class-
cluttertimeline.html


Ryan Rix

-- 
Ryan Rix
Fedora KDE SIG Member, Phoenix AZ Ambassador, News KDE Beat writer

New Mail address: phrkonaleash at gmail.com -> ry at n.rix.si !!
http://hackersramblings.wordpress.com | http://identi.ca/phrkonaleash
XMPP: phrkonaleash at gmail.com          | MSN: phrkonaleash at yahoo.com
AIM:  phrkonaleash                    | Yahoo: phrkonaleash
IRC:  PhrkOnLsh at irc.freenode.net/#srcedit,#plugaz,#fedora-kde and
      countless other FOSS channels.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20091219/b00488ae/attachment.sig>


More information about the fedora-devel-list mailing list