[Eric] Can't find definition using Rope

OldGrantonian oldgrantonian at googlemail.com
Tue Apr 21 07:43:57 BST 2009


Thanks for your responses.
>
> >>  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
> project?
>
> >>  By the way, if you merely want to find the location of methods and
> >>  classes based on their name, you can use the old but effective tags
> >>  mechanism.
>
> How do I do that?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20090421/dae32e0d/attachment.html


More information about the Eric mailing list