Skip to content

File: objects.py

Luca Ravasio edited this page Apr 10, 2021 · 1 revision

objects.py

In objects.py are containes some object-like classes. You can add them in a window, with the win.add_object method. The displayed object will be updated when you 'll run win.do_routine() (with the other objects too). There are many kind of object, like:

  • BaseObject --> a basic object with basic functions

  • Object --> A normal object

  • SvgObject --> A object that 's a well support for svg images. It reload its evry time that it's resized.

  • PercentedObject --> The position of this object is defined by a percentual, not by pixels.

Clone this wiki locally