Re: Idea for new ttk Notebook virtual event



How about a "<<NotebookTabSelected>>" virtual event. The existing
"<<NotebookTabChanged>>" is only generated when a new/different tab is
selected - "<<NotebbokTabSelected>>" would be generated even if the
currently selected tab is selected.

For example: this would be a neat way invoke a refresh of the current
pane contents without the need another "refresh" button/widget.

The Tile (aka ::ttk::notebook) already has something that is functionally
equivalent, although with a different name: <<NotebookTabChanged>>


The problem is that the "<<NotebookTabChanged>>" event is only
generated when a different tab is selected. It isn't generated when
the tab which is already selected is selected again. This is why I've
suggested a "<<NotebookTabSelected>>" event which would be generated
when any of the tabs are selected - Not just a different tab.

Best Regards,
=Adrian=
.


Quantcast