PMW小部件 - 跳过标签 [英] PMW widget - skip tabbing to it
问题描述
我有多个PMW小部件(EntryFields,ScrolledField等),如何使用tab键跳过这些小部件?
谢谢,
John
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
I skip over these widgets when using the tab key?
Thank you,
John
推荐答案
3月26日上午10:51,jp < johnpe ... @ yahoo.comwrote:
On Mar 26, 10:51 am, "jp" <johnpe...@yahoo.comwrote:
我有多个PMW小部件(EntryFields,ScrolledField等),怎么能
我使用tab键时跳过这些小部件?
谢谢,
John
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
I skip over these widgets when using the tab key?
Thank you,
John
我可能会写一些自定义事件处理。
可以告诉它这是一个按键事件,而不仅仅是一个焦点事件。
然后它会很简单,如果按键==标签,把重点放在下一个感兴趣的
小部件上。这样的事情应该有用。
迈克
I would probably write some custom event handling. Something that
could tell it was a key-press event and not just an on-focus event.
Then it would be a simple, if key-press == tab, put focus on next
widget of interest. Something like that should work.
Mike
3月26日上午11点17分,kyoso .. 。@ gmail.com写道:
On Mar 26, 11:17 am, kyoso...@gmail.com wrote:
3月26日上午10:51,jp < johnpe ... @ yahoo.comwrote:
On Mar 26, 10:51 am, "jp" <johnpe...@yahoo.comwrote:
我有多个PMW小部件(EntryFields,ScrolledField等),怎么能
我使用tab键时跳过这些小部件?
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
I skip over these widgets when using the tab key?
谢谢,
John
Thank you,
John
我会可能会写一些自定义事件处理。
可以告诉它这是一个按键事件,而不仅仅是一个焦点事件。
然后它会很简单,如果按键==标签,把重点放在下一个感兴趣的
小部件上。这样的事情应该有用。
Mike
I would probably write some custom event handling. Something that
could tell it was a key-press event and not just an on-focus event.
Then it would be a simple, if key-press == tab, put focus on next
widget of interest. Something like that should work.
Mike
我查看了我的Tkinter书,它说如果小部件有
" takefocus"如果选项设置为true,则窗口小部件将放置在选项卡组
中,并在选中它们时获得焦点。我认为这意味着如果你设置PMW小部件''" takefocus"这意味着
选项为false,因为他们不在选项卡组中,所以他们将跳过
。
Mike
I looked in my Tkinter book, and it says that if the widget has the
"takefocus" option set to true, the widget is placed in the tab group
and will get focus when they are tabbed to. I assume that this means
if you set the PMW widgets'' "takefocus" option to false, they will be
skipped over since they won''t be in the tab group.
Mike
3月26日上午11:17,kyoso ... @ gmail.com写道:
On Mar 26, 11:17 am, kyoso...@gmail.com wrote:
3月26日,上午10:51,jp < johnpe ... @ yahoo.comwrote:
On Mar 26, 10:51 am, "jp" <johnpe...@yahoo.comwrote:
我有多个PMW小部件(EntryFields,ScrolledField等),怎么能
我使用tab键时跳过这些小部件?
I have multiple PMW widgets (EntryFields, ScrolledField etc), how can
I skip over these widgets when using the tab key?
谢谢,
John
Thank you,
John
我会可能会写一些自定义事件处理。
可以告诉它这是一个按键事件,而不仅仅是一个焦点事件。
然后它会很简单,如果按键==标签,把重点放在下一个感兴趣的
小部件上。这样的事情应该有用。
Mike
I would probably write some custom event handling. Something that
could tell it was a key-press event and not just an on-focus event.
Then it would be a simple, if key-press == tab, put focus on next
widget of interest. Something like that should work.
Mike
难道只有一个简单的配置选项来禁用选项卡
键?就像使用Tkinter小部件的takfocus选项一样?
Isn''t there just a simple configuration option to disable the tab
key? Like the takfocus option with Tkinter widgets?
这篇关于PMW小部件 - 跳过标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!