Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用 Tk 的带有条目小部件的弹出窗口,有没有办法让光标在弹出时已经闪烁,以便用户不必单击条目小部件来输入文本?
您可以使用 .focus()
widget_name.focus()