1

I am looking at the answer given at : Draggable Image in Kivy Which is kinda what I am looking for. BUT trying to run it as is (with the kv file and w/o) I get the:

TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Because of:

class MoveableImage(DragBehavior, Image):
    pass

Trying to solve it with metaclass=DragBehavior, will force me to change the order of the params to:

class MoveableImage(Image, metaclass=DragBehavior):
    pass

And I still get the same metaclass error as before.

Any ideas ?

Eli7

0 Answers0