Added in 2.7
$menuicon(filename)
Adds a icon to a menu item.
Parameters
filename - Path to the icon/image file.