Take the 2-minute tour ×

I'm trying to go through the simple-player tutorial. Everything seems okay, after resolving the gtk.RESPONSE_OK and quickly.prompts problems, I reach the part where one starts messing around with goocanvas.

Unfortunately, import goocanvas causes $ quickly run to throw:

  import gobject._gobject
  from gtk import _gtk
  from gtk import _gtk

After which the application exits.

With the other errors, it suggests to me that the tutorial and the goocanvas library are both out of date and not cooperating with the new gtk+3/gobject stuff. If this is the case, could someone please refer me to alternatives? Many thanks in advance.

I am running 64 bit Ubuntu 12.04 LTS.

share|improve this question
add comment

closed as too localized by jokerdino, izx, hbdgaf, Mitch, jrg Jul 12 '12 at 14:01


1 Answer


from gi.repository import GooCanvas

This should allow you to import the new GooCanvas. As for an alternative, not found one yet.

share|improve this answer
The best I've come up with is to use cairo and a GtkDrawArea. –  Quasiperfect Jul 12 '12 at 8:23
add comment
