I noticed you could set the command for a menu header via winset like so:
winset(src,"mnu_Settings","command=.SomeCommand")
In the interface editor for menu headers however, you can only set the name, ID, and whether or not it is disabled.
It'd be cool if it could include a command field too.