Change the focus from one Text widget to another

后端 未结 3 1844
粉色の甜心
粉色の甜心 2020-12-05 11:04

I\'m new to Python and I\'m trying to create a simple GUI using Tkinter.

So often in many user interfaces, hitting the tab button will change the focus from one Tex

3条回答
  •  一整个雨季
    2020-12-05 12:01

    The focus traversal is somewhat customizable, usually letting the X windows manager handle it (with focus follows mouse, or click). According to the manual it should be possible to bind an event to the key press event, for tab presses, and triggering a focusNext event in those cases.

提交回复
热议问题