API setup accomrow

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

setup_accomrow

Definition:
setup_accomrow(int index, table itemlist, userdata subdlg, function click_cb) -> int newindex
Description:
Function initializes a list item in an accomplishment list. (used as setup_cb argument of fill_accomlistbox)
Arguments:
index position within itemlist
itemlist see itemlist
subdialog an itemlist dialog
click_cb function called after clicking on subdialog
Returns:
newindex position within itemlist + items consumed