New submission from Terry J. Reedy <tjre...@udel.edu>:

query.Query creates a popup with entry and ok/cancel buttons, in that order.  
Tabbing moves from the entry in that order.  Currently, subclasses that add 
widgets add them after the 3 above, so they follow Cancel in the tab order.  
They do this by overriding create_widgets and initially calling 
super.create_widgets.

Added widgets should follow the entry box and precede the exit buttons.  To do 
this, they should be created in between.  Proposed solution: create_widgets 
calls 'extra_widgets' (pass for Query) after creating the Entry.  Subclasses 
override to add widgets.

----------
assignee: terry.reedy
components: IDLE
messages: 345940
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: fix Query subclass tab focus traversal order
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37325>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to