As our "wxPython in Action" book is going through the final stages of publication our publisher, Manning Press, will be making some chapters available through their Manning Early Access Program (MEAP). This enables you to buy the book in ebook (PDF) format and to get access to the finalized chapters as they become available. If you later decide to purchase the hard copy book then Manning will deduct the price of the ebook from the book's purchase price.
If you would like to purchase a subscription to the MEAP chapters or learn more about the wxPython in Action book you can do so by going to this page at Manning's website:
If you later decide to purchase the hard copy book then Manning will deduct the price of the ebook from the book's purchase price.
I think I misunderstood something on Manning's website about MEAP that I need to clear up. If you wish to purchase just the ebook then you can do so at about half the cost of the printed book, and also and get the MEAP chapters as they become available. If you wish to purchase the printed book then if you get it direct form Manning at the full price then you can get the ebook and the MEAP chapters for no additional cost.
Sorry for the disinformation.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I'm starting with wxPyhton, but it is already frustrating me. I tried to figure out how the ScrolledPanel works, and I lost all day looking on the internet, at the demos and trying all sorts of things. I ended up with this basic example, and still couldn't get it to work properly. The ScrolledPanel won't display correctly. What am I doing wrong?
Any help is appreciated. Thank you very much.
Kind regards,
antoine
the problem does not come from ScrolledPanel, but from the sizers. In
the line:
mainsizer.Add(spanel)
You should specify to mainsizer which "layout" the ScrolledPanel should
have: in other words, you should specify if ScrolledPanel is allowed to
expand itself horizontally and/or vertically. By changing the line in this
way:
mainsizer.Add(spanel, 1, wx.EXPAND)
your sample works very well here (wxPython 2.6.2.1, Python 2.4.1, Windows
XP). I may suggest you to take a look on sizers overview on the Wiki:
----- Original Message -----
From: "Antoine De Groote" <antoine@vo.lu>
To: <wxPython-users@lists.wxwidgets.org>
Sent: Wednesday, February 15, 2006 9:38 PM
Subject: [wxPython-users] ScrolledPanel mystery
Hello everybody,
I'm starting with wxPyhton, but it is already frustrating me. I tried to
figure out how the ScrolledPanel works, and I lost all day looking on
the internet, at the demos and trying all sorts of things. I ended up
with this basic example, and still couldn't get it to work properly. The
ScrolledPanel won't display correctly. What am I doing wrong?
Any help is appreciated. Thank you very much.
Kind regards,
antoine
for i in range(6):
formsizer.Add(wx.StaticText(spanel, -1, 'hello'))
mainsizer.Add(spanel)
self.SetSizer(mainsizer)
self.Fit()
self.Show()
self.Bind(wx.EVT_CLOSE, self.OnClose)
def OnClose(self, evt):
evt.Skip()
app = wx.App(0)
MyFrame()
app.MainLoop()
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org