Ajout du GUI
This commit is contained in:
12
kivy/tests/pyinstaller/simple_widget/project/widget.py
Normal file
12
kivy/tests/pyinstaller/simple_widget/project/widget.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from kivy.uix.widget import Widget
|
||||
|
||||
|
||||
class MyWidget(Widget):
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(MyWidget, self).__init__(**kwargs)
|
||||
|
||||
def callback(*l):
|
||||
self.x = self.y
|
||||
self.fbind('y', callback)
|
||||
callback()
|
||||
Reference in New Issue
Block a user