Re: Idea for new ttk Notebook virtual event
- From: Rob <dislexic_wobmat@xxxxxxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 19:08:55 +1000
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.
.
- 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
- 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: binary scan and signed characters
- Next by Date: Re: binary scan and signed characters
- Previous by thread: Re: Idea for new ttk Notebook virtual event
- Next by thread: core dump in 8.5.4 using SQLite ... more info
- Index(es):
Loading