本文整理汇总了Python中gui.Gui.setcolumn方法的典型用法代码示例。如果您正苦于以下问题:Python Gui.setcolumn方法的具体用法?Python Gui.setcolumn怎么用?Python Gui.setcolumn使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类gui.Gui
的用法示例。
在下文中一共展示了Gui.setcolumn方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1:
# 需要导入模块: from gui import Gui [as 别名]
# 或者: from gui.Gui import setcolumn [as 别名]
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
'''