henk1955
Group: Members
Posts: 249
Joined: June 2004 |
|
Posted: Jan. 14 2005,08:16 |
|
to make things a like more complicated it looks like this
Code Sample | -- Main menu defmenu("mainmenu", { submenu("Programs", {menuentry("XTerm", make_exec_fn("xterm")), menuentry("emelFM", make_exec_fn("emelfm")), menuentry("Xmms", make_exec_fn("xmms")), menuentry("Dillo", make_exec_fn("dillo")), menuentry("Xzgv", make_exec_fn("xzgv")), -- The query module must also be loaded for this binding to work. menuentry("Run...", querylib.query_exec),} ), -- menuentry("Lock screen", make_exec_fn("xlock")), menuentry("Help", querylib.query_man), menuentry("About Ion", querylib.show_aboutmsg), submenu("Styles", "stylemenu"), submenu("Exit", "exitmenu"), }) |
is a valid ion-menu
as you will see the "Programs" menu is nesteted within the:mainmenu.
-------------- You have a Q or just want to chat? Come to #damnsmalllinux on irc.freenode.net! Open 24/7
dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl) ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
|