~ubuntu-branches/ubuntu/trusty/python-avc/trusty

« back to all changes in this revision

Viewing changes to examples/wx_spinctrl_progui.py

  • Committer: Bazaar Package Importer
  • Author(s): Fabrizio Pollastri
  • Date: 2009-04-20 12:28:35 UTC
  • mfrom: (1.1.4 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090420122835-xf2fz6xyszsvixjc
Tags: 0.7.1-1
* New upstream
* Standards-Version bumped to 3.8.1 (no changes needed)
* Removed license.odt file from doc/

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    root = wx.Frame(None,title='AVC wx spin control example',size=(320,60))
51
51
    statictext = wx.StaticText(root,label='%s',name='spin_value__statictext',
52
52
      size=(100,20))
53
 
    spinctrl = wx.SpinCtrl(root,name='spin_value__spin',size=(100,25))
 
53
    spinctrl = wx.SpinCtrl(root,name='spin_value__spinctrl',size=(100,25))
54
54
 
55
55
    # layout the static text and the spin control horizontally into the window
56
56
    hsizer = wx.BoxSizer(wx.HORIZONTAL)