13.07.2015 Views

The wxPython tutorial

The wxPython tutorial

The wxPython tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>wxPython</strong> widgetshttp://www.zetcode.com/wxpython/widgets/color is set to dark blue. (#53728c) We put a wx.StaticText insidethe header panel. <strong>The</strong> position is 5px from left and 5px from top sothat we have some space between the panel and the static text.<strong>The</strong> color of the static text is set to white. In the end, we make thepanel11 expandable and set the proportion to 0.panel12 = wx.Panel(panel1, -1, style=wx.BORDER_SUNKEN)panel12.SetBackgroundColour('WHITE')...vbox1.Add(panel12, 1, wx.EXPAND)<strong>The</strong> bottom panel is created with wx.BORDER_SUNKEN style. <strong>The</strong>color is set to white. We make it expandable and set the proportionparameter to 1.Ruby on Rails Developmentfor business critical solutions backed by afully managed serviceTT-SolutionswxWidgets (wxWindows) consulting anddevelopment. Ask the wxExperts!Home ‡ Contents ‡ Top of PageZetCode last modified June 13, 2007© 2007 Jan Bodnar29 de 29 27/04/2008 1:04

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

Saved successfully!

Ooh no, something went wrong!