How to show a popup menu, when a button is clicked

Hi,

I need a popup menu like a context menu. This menu should appear when the “on clicked” handler from a button is called.
I don´t want to use a popup button, because I want to use an button with an icon.

I know how I can set up a context menu, but this appears only when a make a right click. Is it possible to show a menu when the “on clicked” handler from a button is called?

Thanks for your help.

Greeting, hoschy07.

Would this menu appear at the point of the mouse (like a context menu) or would it appear in the same window with the button?