Thanks Edward, that sounds very helpful.
J
On Wednesday, August 20, 2025 at 3:51:29 PM UTC+1 Edward K. Ream wrote:
> 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/8f223a4f-e2a4-4d71-a8c6-9cb37a644b1dn%40googlegroups.com.