Create custom context sensitive menu

Hi guys,

Really noob question here:
How do I create a context sensitive menu (ideally assigned to the RMB).
What I would like to do is to have a different set of tools depending on what is active (if vertices mode is active, vertices tools, same with faces, edges, object. A bit like the quad box in max.) I really don’t like using ctrl+E, V, F for functions that should be contextual

Thanks in advance

PS : I’m really new so baby steps might be needed :slight_smile:

Moved from Support / Basics & Interface to Coding / Python Support forum

Thank you! Sorry I didn’t really know where to post it.