Created
August 11, 2012 11:35
-
-
Save tshirtman/3323973 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.app import App | |
| from kivy.core.window import Window | |
| from kivy.uix.widget import Widget | |
| class ResizeApp(App): | |
| def build(self): | |
| Window.bind(on_resize=self.plop) | |
| return Widget() | |
| def plop(self, *args): | |
| print args | |
| if __name__ == '__main__': | |
| ResizeApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment