API clear listbox

From Vendetta Lua
Jump to navigationJump to search

clear_listbox

Definition: clear_listbox(userdata control, table itemlist) -> int selection
Description:
Clear a list control
Arguments:
control list to clear
itemlist list of list items. return value of fill_listbox
Returns:
selection index of selected item