13.07.2015 Views

The wxPython tutorial

The wxPython tutorial

The wxPython tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>wxPython</strong> widgetshttp://www.zetcode.com/wxpython/widgets/<strong>The</strong> SetScrollbars() method creates horizontal and verticalscrollbars. By calling the Scroll() method we programmaticallyscroll to the given position.wx.Notebookwx.Notebook widget joins multiple windows with correspondingtabs. You can position the Notebook widget using the followingstyle flags:wx.NB_LEFTwx.NB_RIGHTwx.NB_TOPwx.NB_BOTTOM<strong>The</strong> default position is wx.NB_TOP.Figure: notebook.py#!/usr/bin/python# notebook.pyimport wximport wx.lib.sheet as sheet25 de 29 27/04/2008 1:04

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!