Well, if it is too stupid or basic to be explained, can someone link me a tutorial or give me an addon's name that do this ? I haven't found any (both tutorial and addon) Thaaaanks.
You can look at Potion Maker and its LibMainMenu-2.0 packaged inside per exemple.
Obsessive Compulsive Elder Scrolls addons Coder
A Few millions downloads of ESO addons now. Master crafter on my main char since release. All tradeskills, recipes \o/, researchs (since long), 35 styles known
My little french Guild: Cercle de l'Eveil