View Single Post
Old 10-03-2022, 06:19 AM   #923
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,208
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by tamaracks View Post
Is it possible to have icons on the menu listing of the chain variations?
Yes, as documented here, you can do it by specifying the icon name as the fourth argument.

Code:
program:
    add_chain_variant('second variant','argument2',  'submenu1', 'icon.png')
If you don't want a submenu, put an empty string:
Code:
program:
    add_chain_variant('second variant','argument2',  '', 'icon.png')
capink is offline   Reply With Quote