scroll bar

Gandalf goldnery at gmail.com
Sun Aug 31 13:01:39 EDT 2008


forgot the code,  sorry,
the code:
import wx

class MyFrame(wx.Frame):
   def __init__(self, parent, ID, title):
       wx.Frame.__init__(self, parent, ID, title, size=(400, 250))

       myscrolledwindow = wx.PyScrolledWindow(self, -1)
       sizer = wx.BoxSizer()
       myscrolledwindow.SetSizer(sizer)
       myscrolledwindow.SetScrollRate(1,1)


app = wx.PySimpleApp()
frame = MyFrame(None, -1, "Sizer Test")
frame.Show()
app.MainLoop()



More information about the Python-list mailing list