~ubuntu-branches/ubuntu/trusty/python-pyo/trusty-proposed

« back to all changes in this revision

Viewing changes to utils/snippets/Interface/NewFrame

  • Committer: Package Import Robot
  • Author(s): Tiago Bortoletto Vaz
  • Date: 2012-06-08 20:35:45 UTC
  • Revision ID: package-import@ubuntu.com-20120608203545-4z7kcf2lgvpsk18y
Tags: upstream-0.6.1
ImportĀ upstreamĀ versionĀ 0.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
snippet = {'shortcut': u'Shift-Alt-5', 'value': u'class MyFrame(wx.Frame):\n    def __init__(self, parent, id=-1, title="Frame Title", pos=(25,25), size=(500,400)):\n        wx.Frame.__init__(self, parent, id, title, pos, size)\n        self.panel = wx.Panel(self)\n        self.panel.SetBackgroundColour("#DDDDDD")\n        self.box = wx.BoxSizer(wx.VERTICAL)\n        # Create objects here...\n        self.panel.SetSizer(self.box)\n        self.Show()\n'}
 
 
b'\\ No newline at end of file'