Created
July 11, 2020 09:40
-
-
Save tshirtman/2bfe69ea7e27611e158f1d6ef2849896 to your computer and use it in GitHub Desktop.
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
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.factory import Factory | |
KV = ''' | |
FloatLayout: | |
EffectWidget: | |
id: eff | |
BoxLayout: | |
orientation: 'vertical' | |
Button: | |
Button: | |
TextInput: | |
Image: | |
texture: eff.texture | |
size_hint: None, None | |
pos_hint: {'right': 1, 'top': 1} | |
''' | |
class Application(App): | |
def build(self): | |
return Builder.load_string(KV) | |
if __name__ == "__main__": | |
Application().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment