From 743cc9f8d9560dcc1fd8071c1926a1979bee655f Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 14 Apr 2013 13:54:09 +0200 Subject: [PATCH] Editor displays blank window --- erdslangetjie/editor/__init__.py | 1 + erdslangetjie/editor/editor.py | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 erdslangetjie/editor/editor.py diff --git a/erdslangetjie/editor/__init__.py b/erdslangetjie/editor/__init__.py index e69de29..4d216ed 100644 --- a/erdslangetjie/editor/__init__.py +++ b/erdslangetjie/editor/__init__.py @@ -0,0 +1 @@ +from editor import main diff --git a/erdslangetjie/editor/editor.py b/erdslangetjie/editor/editor.py new file mode 100644 index 0000000..8d9fdcb --- /dev/null +++ b/erdslangetjie/editor/editor.py @@ -0,0 +1,24 @@ +import kivy + +kivy.require('1.6.0') + +from kivy.app import App +from kivy.uix.widget import Widget + + +class EditorWindow(Widget): + pass + + +class EditorApp(App): + + def build(self): + return EditorWindow() + + +def main(): + EditorApp().run() + + +if __name__ == '__main__': + main() -- 2.34.1