Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| >>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:
| 
| Allan> Lars you were saying something last week about c-s menu
| Allan> support. Any ideas for handling this in a simple manner? JMarc
| Allan> any suggestions for how we map c-s menus in the UI menu stuff?
| 
| Provided you know how to trigger the menu, a simple way to define
| those menus would be to have a (huge?) "context" menu define in
| menus.bind where most entries are OptItems. Therefore these entries
| would only appear in the context menu if they are allowed in the given
| context. Something like
| 
| Menu "context"
|   OptItem "Cut" "cut"
| ...
|   Separator
|   OptItem "Table Layout" "table-layout"
| ...
| End
| 
| The example is bogus, but I believe something like that should work.

You are not calling this a _nice_ way to do context sensitive menus are
you?

        Lgb

Reply via email to