i would like to take control of the icons showed in che Context Menu, but i can't find the way to do that.
The fact is that i would like to show a different set of icons through the right-click menu for each of my document types i had listed in the left panel.
Is there a way to catch the "OwObject object_p" in the getContextMenu() of the DocFunction?
unfortunately your use-case is not possible, I saw somewhere is a filter to show only available functions in context menu.
But to change context menu icons depending on selection is not possible. I would think that such feature would affect the performance additionally, since a filtering is already there.