mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Jan. 14 2005,23:18 |
|
henk: it didn't seem to work =o(
Ion seems to get confused about which terminator is used for each submenu...even after carefully checking every brace it still gives errors about expecting a curly brace before a 'submenu'. I cut it back until I had only one submenu within the 'defmenu':
Code Sample | -- -- Ion menu definitions --
-- Generated by dsl-flux2ion2
-- Load a library with some convenience functions. include("menulib") -- Load query support code include("querylib")
-- Main menu defmenu("DSL", { submenu("Apps", { menuentry("Scite", make_exec_fn('scite')), menuentry("Vim", make_exec_fn('rxvt -rv -e vi')), menuentry("Zile EMACS-clone", make_exec_fn('rxvt -rv -T \'Zile\' -e zile')), menuentry("Nano", make_exec_fn('rxvt -rv -T \'Nano\' -e nano-tiny')), menuentry("xzgv Image Viewer", make_exec_fn('/usr/bin/xzgv')), menuentry("Xpaint", make_exec_fn('/usr/bin/X11/xpaint')), menuentry("Ted", make_exec_fn('ted-gtk')), menuentry("Xpdf", make_exec_fn('/usr/bin/xpdf -geometry 640x480')), menuentry("Xcalc", make_exec_fn('xcalc')), menuentry("ABS spreadsheet", make_exec_fn('abs -geometry 640x480')), menuentry("SQLite Book", make_exec_fn('/usr/local/bin/sqlitebook.pl')), menuentry("PIM using Index", make_exec_fn(' rxvt -rv -T \'PIM using Index\' -e /usr/bin/index')), menuentry("Net Dictionary", make_exec_fn(' rxvt -rv -T \'Internet Dictionary\' -e /usr/local/bin/getword')), }) })
|
Ion finally seemed to accept this. However, when I pressed F12 i didn't get a menu.
So I think it's back to the drawing board....
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|