Setting Button Positions : Button : WxPython PYTHON TUTORIALS


PYTHON TUTORIALS » WxPython » Button »

 

Setting Button Positions


Setting Button Positions
import wx

app = wx.App()
win = wx.Frame(None, title="Editor", size=(410335))
win.Show()

loadButton = wx.Button(win, label='Open',pos=(2255), size=(8025))
saveButton = wx.Button(win, label='Save',pos=(3155), size=(8025))
filename = wx.TextCtrl(win, pos=(55), size=(21025))
contents = wx.TextCtrl(win, pos=(535), size=(390260),style=wx.TE_MULTILINE | wx.HSCROLL)
app.MainLoop()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo WxPython
» Button