def display_tab3():
monty3 = ttk.LabelFrame(display_area, text=' New Features ')
monty3.grid(column=0, row=0, padx=8, pady=4)
# Adding more Feature Buttons
startRow = 4
for idx in range(24):
if idx < 2:
colIdx = idx
col = colIdx
else:
col += 1
if not idx % 3:
startRow += 1
col = 0
b = ttk.Button(monty3, text="Feature " + str(idx + 1))
b.grid(column=col, row=startRow)
# Add some space around each label
for child in monty3.winfo_children():
child.grid_configure(padx=8)
#------------------------------------------
GUI_Complexity_end_tab3_multiple_notebooks.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录