On Oct 15, 9:10 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:

> Yikes...k.masterKeyHandler defaults to the body pane and all is not well :-)

Happily, k.masterMenuHandler creates a dummy event whose widget ivar
is computed thus:

    w = c.frame.getFocus()

The problem was that leoQtFrame.getFocus was not hooked up.  Now it
is.

No change will be needed to Leo's core.  Hurray! We *can* assume that
defaulting the widget to the focus widget will work, because that's
what Leo has always done.

There is one last piece of the puzzle: g.app.gui.widget_name(w) must
return a name starting with 'canvas' for QTreeWidget objects.   There
needs to be an override for this method in the qt plugin.  There soon
will be.

Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to