Hi,
I'm using menus and buttons in the same application. Sometimes it
happens that a menu entry and a button must perform the same action.
In this case, I have to create a callback for the menu entry, another
callback for the function and a third function called by the two
calbacks. This because the menu and button callback prototypes are
different. Is there a more elegant way of doing this?
Any suggestion appreciated.