<div dir="ltr">I am porting BOUNCE ACTIVITY (<a href="https://github.com/sugarlabs/Bounce">https://github.com/sugarlabs/Bounce</a>) to Gtk +3 and I have ported it to some extent but I am stuck at a point where I am not able to find a solution.<br><br>Here is the link to my repository for BOUNCE activity : <a href="https://github.com/abhishektanwar/Bounce">https://github.com/abhishektanwar/Bounce</a><br><br>I know that Gdk.Image is no more supported in Gdk3 and I have to use Cairo or Pixbuf but can't figure out how to convert it to Cairo.<br><br>Traceback (most recent call last):<br>  File "/usr/share/sugar/activities/Bounce.activity/bounce.py", line 1634, in on_drawarea_expose<br>    self.on_drawarea_resize()<br>  File "/usr/share/sugar/activities/Bounce.activity/bounce.py", line 1623, in on_drawarea_resize<br>    self.drawimage = Gdk.Image(Gdk.IMAGE_FASTEST, Gdk.visual_get_system(), rect.width, rect.height)<br>  File "/usr/lib/python2.7/dist-packages/gi/overrides/_init.py", line 39, in __getattr_<br>    return getattr(self._introspection_module, name)<br>  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 139, in _getattr_<br>    self._name_, name))<br>AttributeError: 'gi.repository.Gdk' object has no attribute 'Image'<br></div>