wxwidgets - WxPython AddSpacer -



wxwidgets - WxPython AddSpacer -

i trying add together spacer using wxpython 3.0.1.1 wx.gridbagsizer.

if following:

import wx sizer = wx.gridbagsizer() sizer.addspacer((10,10))

it doesnt work (10,10) size. in documentation mentioning both add together method , addspacer method none of them seem work documented.

i bit lost utilize add together spacer gridbagsizer, please help?

http://wxpython.org/phoenix/docs/html/sizer.html#sizer.addspacer

http://wxpython.org/phoenix/docs/html/gridbagsizer.html#gridbagsizer.add

i have looked @ next example: http://nullege.com/codes/search/wx.gridbagsizer.addspacer does'nt work me.

it grid, when adding things it, must tell to:

sizer.add((10, 10), (0, 0))

which adds spacer of 10x10 grid's position (0, 0). (at to the lowest degree in wx 2.8)

wxpython wxwidgets wx

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -