[Eric] Can't find definition using Rope

OldGrantonian oldgrantonian at googlemail.com
Sat Apr 25 10:45:34 BST 2009

>>  In your example, rope should first infer the object main_widget holds
>>  and then its helpMenu attribute and finally its insertItem.  When rope
>>  cannot find the location of insertItem, it has failed to follow this
>>  chain (maybe some dynamic or uncommon case).

I've found out that for the line:

main_widget.helpMenu.insertItem("Hello world",self.hi,0,666)

the helpMenu attribute is defined in main_form.ui

Should I convert this to a .py file using pyuic4 and then import it to my
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20090425/c616d6e0/attachment.html

More information about the Eric mailing list