Created
March 9, 2015 16:35
-
-
Save kived/f9462ecf3cb18c2df101 to your computer and use it in GitHub Desktop.
Kivy: kwargs ignored for properties set via kv
This file contains 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
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