开发者

Control tab focus (choose next element to focus) with GTK / PyGTK

开发者 https://www.devze.com 2023-01-11 15:22 出处:网络
How can I force the Tab to focus the element I want, is it possible to give my software a list of elements to c开发者_如何学运维ycle focus ?

How can I force the Tab to focus the element I want, is it possible to give my software a list of elements to c开发者_如何学运维ycle focus ?

I remember once using a property called tabindex, but I can't find it anymore.

Maybe, preventing Tab to focus an element could also work ?


Yes, you can set the order of focusing for each widget in a container, using the function container.set_focus_chain().

0

精彩评论

暂无评论...
验证码 换一张
取 消