예제 #1
0
Gui.setrow(win, samplearray, 1)  # fill a whole row 1


secondsample = ["Oliver Warne", "2", "7/13/15", "Collab space", "120", ""]

Gui.setrow(win, secondsample, 5)  # fill a whole row 5


'''
VVVVV Edit a whole column VVVVV
'''


columnsample = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]

Gui.setcolumn(win, columnsample, 6, Gui.Label, 1)  # Fill a whole column each array num is a location on the column


'''
VVVV Edit individual boxes VVVVV
'''


Gui.changeentry(win, 2, 2, "Edit indv. item", Gui.Label)  # edit individual items

Gui.changeentry(win, 4, 3, "test button", Gui.Button, True, TESTBUTTON)  # Test button on the grid


'''
VVVV RUN THE ABOVE CODE FOREVER
'''