mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-24 14:20:37 +01:00
25 lines
729 B
Python
25 lines
729 B
Python
from kivymd.tests.base_test import BaseTest
|
|
|
|
|
|
class BackdropTest(BaseTest):
|
|
def test_backdrop_raw_app(self):
|
|
from kivymd.uix.backdrop import MDBackdrop
|
|
from kivymd.uix.backdrop.backdrop import (
|
|
MDBackdropBackLayer,
|
|
MDBackdropFrontLayer,
|
|
)
|
|
from kivymd.uix.screen import MDScreen
|
|
from kivymd.uix.widget import MDWidget
|
|
|
|
self.render(
|
|
MDScreen(
|
|
MDBackdrop(
|
|
MDBackdropBackLayer(MDWidget()),
|
|
MDBackdropFrontLayer(MDWidget()),
|
|
id="backdrop",
|
|
title="Example Backdrop",
|
|
header_text="Menu:",
|
|
)
|
|
)
|
|
)
|