Created
July 14, 2012 20:35
-
-
Save tshirtman/3113250 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.factory import Factory | |
| from kivy.config import Config | |
| class BejotoApp(App): | |
| icon = 'icon.png' | |
| title = 'Test icon' | |
| def build(self): | |
| Config.set('kivy', 'window_icon', self.get_application_icon()) | |
| return Factory.Button() | |
| if __name__ == '__main__': | |
| BejotoApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment