Skip to content

Commit 7567206

Browse files
committed
Added an inherited class for the MDLinearProgressIndicator widget
1 parent 65a910e commit 7567206

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: kivymd/uix/progressindicator/progressindicator.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def build(self):
204204

205205
from kivymd import uix_path
206206
from kivymd.theming import ThemableBehavior
207+
from kivymd.uix.behaviors import DeclarativeBehavior
207208

208209
with open(
209210
os.path.join(uix_path, "progressindicator", "progressindicator.kv"),
@@ -212,11 +213,12 @@ def build(self):
212213
Builder.load_string(kv_file.read())
213214

214215

215-
class MDLinearProgressIndicator(ThemableBehavior, ProgressBar):
216+
class MDLinearProgressIndicator(DeclarativeBehavior, ThemableBehavior, ProgressBar):
216217
"""
217218
Implementation of the linear progress indicator.
218219
219220
For more information, see in the
221+
:class:`~kivymd.uix.behaviors.declarative_behavior.DeclarativeBehavior` and
220222
:class:`~kivymd.theming.ThemableBehavior` and
221223
:class:`~kivy.uix.progressbar.ProgressBar`
222224
classes documentation.

0 commit comments

Comments
 (0)