I am writing an addon popup that shows all the current shortcuts. This is context sensitive and I have it mostly done. However, I am not able to get much information from the other python addons.
Below is some of CoDEManX's code that collects a lot of the info I need. However, it does not seem to collect anything for Python addons.
Is there a way to collect the same info that the tooltips do from within python?
mod, opname = idname.split(".")
idname_c = "{!s}_OT_{!s}".format(mod.upper(), opname)
idtype = getattr(bpy.types, idname_c)
description = idtype.bl_rna.description
idtype.__doc__
to get the documentation string. $\endgroup$