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.
簡単な質問: 他のウィンドウにフォーカスを作成または設定せずに、PyGTK でウィンドウをぼかす (フォーカスを外す) 方法は? PyGTKのドキュメントでこれに対する解決策が見つかりません(またはどこを検索すればよいかわかりません)...
# Assuming a Gtk.Window named 'win'... win.set_focus(None)
詳細については、http://www.pygtk.org/pygtk2reference/class-gtkwindow.html#method-gtkwindow--set-focusのドキュメントを参照してください。
focus が None の場合、ウィンドウのフォーカス ウィジェットは設定されていません。