Ah yes, macros.owner() seems to be what I need.
Have just added line
echo widget.getTypeInst.owner.strVal
Runto mconnect() macro and output is gtk, exactly the module name what I need. It was not really obvious for me that term owner is related to module identifier from API docs: [https://nim-lang.github.io/Nim/macros.html#owner%2CNimNode](https://nim-lang.github.io/Nim/macros.html#owner%2CNimNode)
