On Wed, Aug 20, 2025 at 4:50 AM jkn <[email protected]> wrote:

> Hi all
>     is there an easy way of determining where the focus is currently in
> Leo (body, tree, log...)?
>

c.get_focus() or g.app.gui.get_focus() return a widget w. You can then look
at w.objectName().

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS15xmbherHxKkhR%2Bjg3H%2BR6H1OU%3D_2ZgkrUBqbr%3D3P%2B%2Bw%40mail.gmail.com.

Reply via email to