On Tue, Nov 8, 2011 at 2:55 PM, Kent Tenney <[email protected]> wrote:

> I see no mention of activate/deactivate events in ...
Scripting Leo with Python-->@file

Oops.  Missing docs.  I'll fix this soon.

Leo's qt gui generates two such events::

    g.doHook('activate',c=c,p=c.p,v=c.p,event=event)

    g.doHook('activate',c=c,p=c.p,v=c.p,event=event)

For more details, see the code:

leoPy.leo#Code-->Qt gui-->@file ../plugins/qtGui.py-->Gui
wrapper-->class leoQtGui-->Event handlers (qtGui)-->onActivateEvent
(qtGui)

and

leoPy.leo#Code-->Qt gui-->@file ../plugins/qtGui.py-->Gui
wrapper-->class leoQtGui-->Event handlers (qtGui)-->onDeactiveEvent
(qtGui)

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