Sure - I was just pointing out that the calls seem to return different things for different 'focus parts' of the system.
On Thursday, August 21, 2025 at 1:17:51 AM UTC+1 [email protected] wrote: > Then try for objectName() directly. The name "LeoQTreeWidget" suggests > that it's a actual widget, not a wrapped one. > > BTW, the way I learned that LeoQtBody had a widget attribute was to run > dir() on it. "widget" showed up at the end of the list. > > On Wednesday, August 20, 2025 at 6:29:08 PM UTC-4 jkn wrote: > >> slightly teasing here: >> >> AttributeError: 'LeoQTreeWidget' object has no attribute 'widget' >> >> On Wednesday, August 20, 2025 at 11:02:31 PM UTC+1 Edward K. Ream wrote: >> >>> On Wed, Aug 20, 2025 at 5:00 PM Thomas Passin <[email protected]> wrote: >>> >>>> >>>> On Wednesday, August 20, 2025 at 1:00:59 PM UTC-4 jkn wrote: >>>> >>>> Heh... >>>> >>>> AttributeError: 'LeoQtBody' object has no attribute 'objectName' >>>> >>>> >>>> w.widget.objectName() >>>> >>> >>> Thanks, Thomas. Apparently w is a Wrapper object. >>> >>> 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/c8260644-4d92-4cb1-bd34-b7f092797a02n%40googlegroups.com.
