Skip to content

Instantly share code, notes, and snippets.

@kived
Created March 9, 2015 16:35
Show Gist options
  • Save kived/f9462ecf3cb18c2df101 to your computer and use it in GitHub Desktop.
Save kived/f9462ecf3cb18c2df101 to your computer and use it in GitHub Desktop.
Kivy: kwargs ignored for properties set via kv
import kivy
kivy.require('1.8.1')
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.button import Button
Builder.load_string('''
<Button>:
text: 'bad'
''')
class TestApp(App):
def build(self):
return Button(text='good')
if __name__ == '__main__':
TestApp().run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment