in hexforge_modules/helper.py [0:0]
def init_action(self):
action_desc = idaapi.action_desc_t(
self.ACTION_NAME, # The action name.
self.ACTION_TEXT, # The action text.
IDACtxEntry(self._action), # The action handler.
None, # Optional: action shortcut
self.ACTION_TOOLTIP, # Optional: tooltip
0, # icon
)
assert idaapi.register_action(action_desc), "Action registration failed"