far.MakeMenuItems

LuaFAR 3

far.MakeMenuItems


Items = far.MakeMenuItems (...)

Parameters:
  Arbitrary number of arguments.
  Each argument may be of any Lua type.

Returns:
  Items: table (array of tables)
           - each element is a table in the form
             { text=<string>, arg=<argument value> }
           - number of elements >= number of arguments, as one
             argument can have a multiple line representation.

Description:
  This function returns representation of its arguments, suitable
  for passing to function far.Menu as its Items parameter.