Progress Bar¶
Progress indicators express an unspecified wait time or display the length of a process.
Usage¶
from kivy.lang import Builder
from kivymd.app import MDApp
KV = '''
BoxLayout:
padding: "10dp"
MDProgressBar:
value: 50
'''
class Test(MDApp):
def build(self):
return Builder.load_string(KV)
Test().run()
API - kivymd.uix.progressbar¶
-
class
kivymd.uix.progressbar.MDProgressBar¶ Bases:
kivymd.theming.ThemableBehavior,kivy.uix.progressbar.ProgressBar-
reversed¶ Reverse the direction the progressbar moves.
reversedis anBooleanPropertyand defaults to False.
-
orientation¶ Orientation of progressbar. Available options are: ‘horizontal ‘, ‘vertical’.
orientationis anOptionPropertyand defaults to ‘horizontal’.
-
color¶ Progress bar color in
rgbaformat.coloris anOptionPropertyand defaults to [].
-