读书人

关于wxpython开发解决方案

发布时间: 2013-06-19 10:26:41 作者: rapoo

关于wxpython开发
关于wxpython开发解决方案

如上图,怎样才能使用TAB键,控制上一个输入的光标,跳到下一个输入的光标呀?
[解决办法]
你把控件放在wxPanel试试,默认就是tab traversal,或者之前说的用wxDialog。看文档貌似gtk是原生支持的...

Panel

A panel is a window on which controls are placed.

It is usually placed within a frame. Its main feature over its parent class Window is code for handling child windows and TAB traversal. Since wxWidgets 2.9, there is support both for TAB traversal implemented by wxWidgets itself as well as native TAB traversal (such as for GTK 2.0).

读书人网 >perl python

热点推荐