From: Neil Date: Sun, 14 Apr 2013 11:54:09 +0000 (+0200) Subject: Editor displays blank window X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=743cc9f8d9560dcc1fd8071c1926a1979bee655f;p=erdslangetjie.git Editor displays blank window --- 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()