From b742592c7f7298c8bc23e63dfba54b2d297aca7c Mon Sep 17 00:00:00 2001 From: qua-non Date: Sun, 26 Jan 2014 02:19:45 +0530 Subject: [PATCH] examples:showcase add the missing popup.kv --- examples/demo/showcase/data/screens/popups.kv | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/demo/showcase/data/screens/popups.kv diff --git a/examples/demo/showcase/data/screens/popups.kv b/examples/demo/showcase/data/screens/popups.kv new file mode 100644 index 000000000..a120ccf28 --- /dev/null +++ b/examples/demo/showcase/data/screens/popups.kv @@ -0,0 +1,17 @@ +ShowcaseScreen: + popup: popup + fullscreen: True + name: 'Popups' + BoxLayout: + id: bl + Popup: + id: popup + title: "Hello World" + on_parent: + if self.parent == bl: self.parent.remove_widget(self) + Button: + text: 'press to dismiss' + on_release: popup.dismiss() + Button: + text: 'press to show Popup' + on_release: root.popup.open()