Overview

Clutter REPL proof of concept using twisted manhole with gtk2reactor

$ python run.py &
[1] 8170
$ telnet localhost 3333
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

twisted.manhole.telnet.ShellFactory
Twisted 8.1.0
username: admin
password: admin
>>> import clutter
>>> stage = clutter.Stage(default=True)
>>> stage.show()
>>> r = clutter.Rectangle()
>>> r.set_size(100, 100)
>>> r.set_color("red")
>>> stage.add(r)
>>> r.set_position(300, 300)
>>> r.move_anchor_point_from_gravity(clutter.GRAVITY_CENTER)
>>> r.animate(clutter.EASE_IN_SINE, 1000, "rotation-angle-z", 180)
<clutter.Animation object at 0xa6556bc (ClutterAnimation at 0xa631a78)>