6 Star 1 Fork 2

ZDX/igem-meal-replacement-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 997 Bytes
一键复制 编辑 原始数据 按行查看 历史
jason 提交于 2022-09-08 00:12 . fixed reloading bug
from wifi_interface import *
from shop import *
from kivy.lang import Builder
from kivymd.app import MDApp
from kivy.uix.screenmanager import Screen, ScreenManager
class MainNavigationScreen(Screen):
pass
class MainApp(MDApp):
def build(self):
Builder.load_file('1_shop.kv')
Builder.load_file('3_wifi.kv')
Builder.load_file('1_main.kv')
scm=ScreenManager()
scm.add_widget(MainNavigationScreen(name='scrMain'))
scm.add_widget(ShopItemScreen(name='scrItem'))
scm.add_widget(FinalScreen(name='scrFinal'))
scm.add_widget(CheckOutScreen(name='scrChkOut'))
print(scm)
return scm
def on_start(self):
self.root.get_screen('scrMain').ids.wifiItem.linkStatus()
#self.root.get_screen('scrMain').ids.tabShop.add_widget(TabShopIngredients())
#self.root.get_screen('scrMain').ids.tabShop.add_widget(TabShopDevices())
if __name__ == '__main__':
iGEM_Main=MainApp()
iGEM_Main.run()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhang-dingxi/igem-meal-replacement-app.git
git@gitee.com:zhang-dingxi/igem-meal-replacement-app.git
zhang-dingxi
igem-meal-replacement-app
igem-meal-replacement-app
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385