Quantcast
Channel: wxPython - modify a frame - Stack Overflow
Browsing index pages (2 articles)
↧

wxPython - modify a frame

I have a simply code:import wxclass Glowne(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent=parent) pos = 55 tekst = 'HELLO - position' font = wx.Font(18, wx.DEFAULT, wx.NORMAL,...

View Article


Answer by falsetru for wxPython - modify a frame

You need to save wx.StaticText instanced. To change property of it later.Use SetPosition method to change position.Bind EVT_BUTTON event to event handler (change_pos in the following code).class...

View Article

Browsing index pages (2 articles)


Latest Images