Skip to content

Instantly share code, notes, and snippets.

@tshirtman
Created August 11, 2012 11:35
Show Gist options
  • Select an option

  • Save tshirtman/3323973 to your computer and use it in GitHub Desktop.

Select an option

Save tshirtman/3323973 to your computer and use it in GitHub Desktop.
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