Re: Idea for new ttk Notebook virtual event
- From: Adrian Davis <adrian@xxxxxxxxxxxx>
- Date: Fri, 29 Aug 2008 08:04:53 -0700 (PDT)
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=
.
- Follow-Ups:
- Re: Idea for new ttk Notebook virtual event
- From: Gerald W. Lester
- Re: Idea for new ttk Notebook virtual event
- References:
- Idea for new ttk Notebook virtual event
- From: Adrian Davis
- Re: Idea for new ttk Notebook virtual event
- From: Gerald W. Lester
- Idea for new ttk Notebook virtual event
- Prev by Date: Re: Idea for new ttk Notebook virtual event
- Next by Date: Re: Idea for new ttk Notebook virtual event
- Previous by thread: Re: Idea for new ttk Notebook virtual event
- Next by thread: Re: Idea for new ttk Notebook virtual event
- Index(es):