Not possible to implement Gdk.Paintable
When trying to do
from gi.repository import, Gtk, Gdk
class Paintable(Gtk.Widget, Gdk.Paintable):
def do_snapshot(self, snapshot, width, height):
return
One gets an error
TypeError: Method do_snapshot() on class Gtk.Widget is ambiguous with methods in base classes Gtk.Widget and Gdk.Paintable