solved, apparently python-gi-cairo package was needed.
** Changed in: gir-repository (Ubuntu)
Status: New => Invalid
** Changed in: gtk+3.0 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/999519
Title:
"draw" event is never called on a Gtk.DrawingArea in python
Status in “gir-repository” package in Ubuntu:
Invalid
Status in “gtk+3.0” package in Ubuntu:
Invalid
Bug description:
I'm trying this simple script, but the "on_draw" function never gets
called. This worked fine before upgrading to Ubuntu 12.04
from gi.repository import GObject, Gtk, Gdk, GLib
a = Gtk.DrawingArea()
def on_draw(*args):
print "Draw"
a.connect("draw", on_draw)
w = Gtk.Window()
w.add(a)
w.show_all()
Gtk.main()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gir-repository/+bug/999519/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp