[jsword-devel] Tabbed View Popup

DM Smith dmsmith555 at yahoo.com
Thu Aug 26 13:12:33 MST 2004


I am working on getting a popup to work on the tab view to open, close 
and close all. Out of habit, I keep right clicking on the tab.

I am finding that the BibleViewPane is passing mouse events that it does 
not handle to its container, So I am getting the popup not just on the 
tab itself, but over the background of BibleViewPane. I don't think this 
is that big a deal, but I wanted some feedback. If you know how to block 
it let me know.

Also, the popup does not work if there are no tabs in TDIViewLayout. 
Which is the case if there is one BibleViewPane. This means that the 
second tab needs to be created with the "File" menu. It would work if we 
always showed a tab in TDIViewLayout. I think that if we add the popup 
ability we will want to make a tab always show.

I am also thinking that another close method would be good "Close 
others". I use this all the time in Mozilla.

Feedback appreciated.

Unless there is a great desire for this, I plan to hold off on 
submitting it until 0.9.8 is released (any day now!)

I am thinking about a similar popup for MDIViewLayout, but I am not sure 
what its semantics should be, as every window already has a close box.

One ugliness of calling isPopupTrigger() on a mouse event is that 
different platforms have it happen for different mouse events. Some its 
mouse down, others it is mouse up and others it is mouse clicked.



More information about the jsword-devel mailing list