Re: Idea for new ttk Notebook virtual event
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Fri, 29 Aug 2008 10:10:06 -0500
Adrian Davis wrote:
How about a "<<NotebookTabSelected>>" virtual event. The existingThe Tile (aka ::ttk::notebook) already has something that is functionally
"<<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.
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.
How do you select something that is already selected?
I take it you want an event generated whenever the tab is clicked on?
If you are going to use that for a refresh as stated, IMHO that is a far less intuitive interface than a refresh button or menu item.
--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: Idea for new ttk Notebook virtual event
- From: Adrian Davis
- 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
- Re: Idea for new ttk Notebook virtual event
- From: Adrian Davis
- 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):