Quote | a) Applying Fl:scheme("plastic") as in calculator.lua to everything written in MurgaLua | There's no need to edit the scripts when you can apply it to every murgaLua GUI in one shot: http://damnsmalllinux.org/cgi-bin....t=19979
On the subject of flrun, you're attempting to set the value of a menu to a string, when it requires an integer. If you change input:value() to input:add(), it adds the command to the menu. Is that what you wanted?
Also, the browse callback tries to work with fl_file_chooser directly. This is reliable only if fl_file_chooser always returns a useable value, which is never a certain bet. It's generally a good idea to check whether or not the chooser returns something before doing anything with the result. For example: Code Sample | function(browse) local txt=fltk.fl_file_chooser(text.choose,"*","") if txt then input:add(txt) end end)
|
|