A widget with multiple text entries in a menu
This widget can be set as editable at construction time.
If it is editable the user can type a value and is not constrained by the values in the menu
The text content of the selected entry, can be nil
You can set it to a number to select the corresponding entry from the menu
If the combo box is editable, you can set it to any string
You can set it to nil to deselect all entries
The various menu entries.
You can add new entries by writing to the first element beyond the end
You can removes entries by setting them to nil
function( widget : types.lua_widget )
A function to call when the value field changes (character entered or value selected)
The widget that triggered the callback
True is the user is allowed to type a string in the combobox
The label displayed on the combobox