Skip to content

Instantly share code, notes, and snippets.

@tshirtman
Created July 11, 2020 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tshirtman/2bfe69ea7e27611e158f1d6ef2849896 to your computer and use it in GitHub Desktop.
Save tshirtman/2bfe69ea7e27611e158f1d6ef2849896 to your computer and use it in GitHub Desktop.
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