Editor displays blank window
authorNeil <neil@dip.sun.ac.za>
Sun, 14 Apr 2013 11:54:09 +0000 (13:54 +0200)
committerNeil <neil@dip.sun.ac.za>
Sun, 14 Apr 2013 11:54:09 +0000 (13:54 +0200)
erdslangetjie/editor/__init__.py
erdslangetjie/editor/editor.py [new file with mode: 0644]

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4d216ed4cdf94169f4e3fd9742a8c9c72e968e3d 100644 (file)
@@ -0,0 +1 @@
+from editor import main
diff --git a/erdslangetjie/editor/editor.py b/erdslangetjie/editor/editor.py
new file mode 100644 (file)
index 0000000..8d9fdcb
--- /dev/null
@@ -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()