Generic function
Returns the command associated with the specified gadget.
gadget-command gadget => command
<gadget>.
false-or(<command>).
duim-gadgets
duim-gadgets
Returns the command associated with gadget.
A command is typically associated with a gadget if that gadget has been created by using a command table. For example, the command associated with a menu button would represent the callback that is invoked when the user chooses the relevant menu command.