On Thu, Aug 21, 2025 at 1:50 AM jkn <jkn...@nicorp.co.uk> wrote:

> Sure - I was just pointing out that the calls seem to return different
> things for different 'focus parts' of the system.
>

Thanks to you and Thomas for your comments.

My responses were hasty and not too helpful. The only sure reference is the
actual code :-)

The signature in question is:  class LeoQTreeWidget(QtWidgets.QTreeWidget):

So yes, a LeoQTreeWidget *is* a QTreeWidget. And (indirectly!) a
QTreeWidget *is* a QWidget.

I'm not going to change the code. Devs should decide whether
g.app.gui.get_focus or c.get_focus is appropriate.

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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0P6%2BWvbA4pC8DJvEXDDmP9XefMtMdVXjwo2NFC4-qnFQ%40mail.gmail.com.

Reply via email to