API fill accomlistbox

From Vendetta Lua
Revision as of 22:05, 25 January 2009 by Chefkoch (talk | contribs) (split)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

fill_accomlistbox

Definition: fill_accomlistbox(userdata control, table itemlist, function setup_cb, click_cb) -> table dialoglist
Description:
fill an accomplishement listbox with accomlistsubdialogs according to given values. normally called from AccomplishmentTemplate2
Arguments:
control iup list to fill
itemlist itemlist
setup_cb function called for each item in itemlist. see: setup_cb
click_cb function to after clicking on an item
Returns:
dialoglist list of accomlistsubdialog
Example:
see: Example