summaryrefslogtreecommitdiff
path: root/beam_tracing/python/gui_test.py
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-02-28 14:59:55 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-02-28 14:59:55 -0500
commite4360a48435cc762855d356b208b5544e6f40c4b (patch)
tree71c6c83c247cb07495265b93ec062eefc3e928a8 /beam_tracing/python/gui_test.py
parenta08ed173692ce16b79002733003049ec32a02485 (diff)
downloadwgmr-e4360a48435cc762855d356b208b5544e6f40c4b.tar.gz
wgmr-e4360a48435cc762855d356b208b5544e6f40c4b.zip
Added python version of mode-matching code by Bain Bronner
Diffstat (limited to 'beam_tracing/python/gui_test.py')
-rw-r--r--beam_tracing/python/gui_test.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/beam_tracing/python/gui_test.py b/beam_tracing/python/gui_test.py
new file mode 100644
index 0000000..f8edff4
--- /dev/null
+++ b/beam_tracing/python/gui_test.py
@@ -0,0 +1,11 @@
+import wx
+class MyFrame(wx.Frame):
+ """ We simply derive a new class of Frame. """
+ def __init__(self, parent, title):
+ wx.Frame.__init__(self, parent, title=title, size=(200,100))
+ self.control = wx.TextCtrl(self, style=wx.TE_MULTILINE)
+ self.Show(True)
+
+app = wx.App(False)
+frame = MyFrame(None, 'Small editor')
+app.MainLoop() \ No newline at end of file