[Mono-docs-list] Tab Navigation

Mario Sopena Novales masono1@teleco.upv.es
Tue, 14 Dec 2004 04:06:20 +0100


Hi,
    I have some considerations to some of the comments you made:

> 	* For the tab feature to be useful, it would be better if
> 	  middle-clicking on a link would open a new tab, to mimic
> 	  Firefox and also control-click

I think the ctrl-click is easy, but the middle-click needs a little
trick. I have already tried, but the LinkClicked event is only raised
when the user click with the left-button. For a middle button we should
use the ButtonPressed from the Widget or something I'm trying to figure.
Any ideas?

> 	* The [+] icon should probably disappear, there is no
> 	  need for this really.
> 

I have no problem with this, but Joshua said me: "The New Tab tool
should be on the toolbar too." Which I interpreted with that button.

> 	* Instead of the hack in `Active', I would rather have a 
> 	  method called `UpdateButtonStatus', which is what the
> 	  method really does.

Hoping not to be a pain in the neck I disagree with that statement. The
main reason for Active is that only one history responds to the events
raised (because every history is registered as listener for the
buttons). The fact that the buttons should be updated is a consequence
of making a Tab active and not the reason. But, ok, you have the last
word.

Mario.