Yes it is! You can import .kv files inside files just like normal python files by starting with:
#:include otherfile.kv
If you want the file to unload and reload first you can force the import typing
#:include force otherfile.kv
instead.
All this as written in the Kivy Language Documentation which is full of useful clarifications.
是的,有可能。在
Is it possible to read from more than one .kv file in Kivy app?
相关问题 更多 >
编程相关推荐