linux - wx python as portable language -
i chose learn python wish have programs running on multiple platforms. undertake development on ubuntu.
my program uses lots of images placed in screen locations using gridbag sizer. when want change image @ specific location use code along lines of
def refreshsizercell(self, item, sizer, row, column, span, flag=wx.all, border=10): self.freeze() olditem=sizer.finditematposition((row, column)) if (olditem !=none) , olditem.iswindow(): olditem.getwindow().destroy() sizer.add(item, pos=(row, column), span=span, flag=flag, border=border) self.layout() self.fit() self.thaw()
on ubuntu machine works dream, when run under windows sorts of issues: images remainig background, cells moving unpredictably, screen fluttering, ...
is issue wxpython on windows (have others had success?) or unrobust code?
Comments
Post a Comment