Quote:
Originally Posted by ItalianUruguayan
Thank you very much
And is there any way to specify the icon of each entry? I would like to add some icons to them.
|
You can. But you have to create the menu entries yourself. This is an example:
Code:
selection=$($ksmroot/kobomenu.sh give_me_coffee:gear.png give_me_tea:execute.png )
case $selection in
give_me_coffee )
// Do here something, for instance call a script that orders coffee.
;;
give_me_tea )
// Do here something, for instance call a script that orders tea.
;;
esac
You can only use icons that are embedded in the binary file "kobomenu." You can see a list of all available icons by calling menu_icons.sh (Call it by selecting "scripts" > "tests.msh" > "menu icons.sh"; or similar. I do not have my reader with me, and cannot remember exactly.)