kivymd / KivyMD

KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications. https://youtube.com/c/KivyMD https://twitter.com/KivyMD https://habr.com/ru/users/kivymd https://stackoverflow.com/tags/kivymd
https://kivymd.readthedocs.io
MIT License
2.14k stars 655 forks source link

Builder.load_all_kivy_files issue #1714

Closed TaqsBlaze closed 1 week ago

TaqsBlaze commented 1 week ago

Description of the Bug

When I try to load multiple kv files using the load_all_kv_files method it failes with the following error: AttributeError: 'BuilderBase' object has no attribute 'load_all_kv_files'

Code and Logs

from kivy.app import App
from kivy.lang import Builder

kv = """
Screen:
    # KV-Code
"""

class MainApp(App):
    def build(self):
        self.root = Builder.load_all_kv_files("path/to/dir")

if __name__ == '__main__':
    MainApp().run()

Screenshots

Code and error screenshot.

Remove this section if no images here

Versions

T-Dynamos commented 1 week ago

AttributeError: 'BuilderBase' object has no attribute 'load_all_kv_files'

Not related to kivymd.