Re: Idea for new ttk Notebook virtual event



Adrian Davis wrote:

I take it you want an event generated whenever the tab is clicked on?


Yes. extactly.

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.

It seems logical to me that clicking on the tab of the currently
selected pane could update the contents of the pane. After all,
selecting the tab of any other pane can be used to update its
contents. Maybe not to everybodies taste, but I think it would be a
useful feature.

Adrian

I'd second Gerald Lester's comment on intuitiveness. Clicking on another
tab *displays* that pane's contents. It does *not* refresh the contents as
far as the user is concerned - how the programmer looks at it is a totally
different issue.

Unless there has been change to tab's associated pane contents then I'd make
a click to that tab a null operation. If there has been a change then
presumably the end user initiated something that triggered that change, so
that user action is what should, IMHO, trigger the refresh action...

Basically what I'm saying is: why would you bother refreshing a widget (e.g.
the tab's pane) when nothing in that widget's appearance has changed.

Rob.
.


Loading