lfottaviano/emesene — comment on commit c4db1a7461ce7ee33f98eacae3c8e812ca13f269
File: emesene/gui/base/Handler.py line 343
By lfottaviano:

here we can use, menuitem.data() instead of using contact_menu reference.
But without talking of inheritance. I mean for example Qt has for determinated widgets an userData property where you can store what you want.
I should grep :P