Undefined
By: Guest | Date: Sep 18 2016 03:09 | Format: Python | Expires: never | Size: 300 B | Hits: 773
- from kivy.uix.button import Button
- from kivy.uix.gridlayout import GridLayout
- from kivy.lang import Builder
- class DHackGridLayout(GridLayout):
- def on_pre_enter(self, *args):
- self.add_widget(Button(text='I do nothing'))
- Builder.load_string("""
- <DHackGridLayout>:
- ...
- """)
Latest pastes
55 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago