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.
GTK+ 按钮小部件具有控制焦点抓取的 focus_on_click 属性。但我使用没有此类属性的 MenuToolButton。我不想把重点放在点击上。
如何摆脱它?谢谢!
如果您不想要 focus_on_click,那么您可能通常不想要焦点。
widget.set_can_focus(False)