Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import wx
- import wx.grid
- class TestFrame(wx.Frame):
- def __init__(self):
- wx.Frame.__init__(self, None, title="Grid",size=(640,480))
- grid = wx.grid.Grid(self)
- grid.CreateGrid(50,50)
- for i in range (0,10):
- grid.SetCellValue(i,0,"jaime")
- #grid.Editable(False)
- app = wx.PySimpleApp()
- frame = TestFrame()
- frame.Show()
- app.MainLoop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement