Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Wed, Aug 28, 2002 at 09:12:54AM +0200, Lars Gullik Bjønnes wrote:
| > What I really want is for all dispatch to be really ignorant about
| > mouse buttons. (and the rest of the code as well...)
| 
| So how should an inset describe that it wants to popup a dialog on
| mouse-left?

An inset should never want to popup a dialog on mouse-left, it should
only popup a dialog on the LFUN "popup-dialog"

The binding between "mouse-button-1" and "popup-dialog" handle the
rest. But to do this we need some kind of context to the bindings.

\bind "mouse-button-1" "cursor-set"
\global_inset_bind "mouse-button-1" "popup-dialog"

-- 
        Lgb

Reply via email to