Undefined
By: Guest | Date: Sep 18 2016 03:09 | Format: Python | Expires: never | Size: 300 B | Hits: 738
- 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
17 hours ago
2 days ago
3 days ago
6 days ago
7 days ago