test-kivy-app/kivy_venv/share/kivy-examples/widgets/scatter.py
2024-09-15 15:12:16 +03:00

17 lines
282 B
Python

from kivy.uix.scatter import Scatter
from kivy.app import App
class MyScatter(Scatter):
pass
class ScatterApp(App):
def build(self):
s = MyScatter(size=(400, 400), size_hint=(None, None))
s.top = 500
return s
ScatterApp().run()