/kivy_pagelayout_1.py Secret
Created
August 29, 2022 21:43
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 japanize_kivy | |
from kivy.app import App | |
from kivy.core.window import Window | |
from kivy.lang import Builder | |
from kivy.uix.pagelayout import PageLayout | |
Builder.load_file('kivy_pagelayout_1.kv') | |
Window.size = (200, 200) | |
class KivyPageLayout(PageLayout): | |
pass | |
class ExampleApp(App): | |
def build(self): | |
self.title = 'PageLayout' | |
return KivyPageLayout() | |
if __name__ == '__main__': | |
ExampleApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment