📜  tkinter 在框架中获取子项 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:47.643000             🧑  作者: Mango

代码示例1
children_widgets = frame.winfo_children()
for child_widget in children_widgets:
    if child_widget.winfo_class() == 'Entry':
        print(child_widget.get())