Allan Rae <[EMAIL PROTECTED]> writes:


| > Lars> I'd like to have a RMB context menu popup. Wherever I click RMB the
| > Lars> context-sensitive-menu is called and the appropriate popup is shown.
| > Lars> F.ex if I RMB on the small red margin on a marginal note I get a small
| > Lars> popup where I can choose left or right margin etc. Similar for floats
| > Lars> where I could choose placement, etc.
| 
| I was thinking more along the lines of what implementation details you
| might provide.  I think we agree RMB is the way to go here.

Id like to have a virtual method in inset f.ex. ContextSensitive, that
is called when the context-sensitive-menu lyxfunc is called.

the inset should care less if this is called from RMB or anyother key.

| > I've just finished playing with InsetRef, the Edit() of which is:
| [...]
| > So, at the moment we get the pop-up (new --- try it!) on mouse-button 1, but
| > eventually we'll get the old behaviour of "go to ref on click 1" and get
| > "launch this new dialog on click 3"
| > 
| > Anyway. Patch attached. Please apply!
| 
| Don't get too excited just yet.

And we don't want the dialog to popup on on RMB, we want a small pup
menu with just a few items.


| 
| Allan. (ARRae)

Reply via email to