API setup accomrow: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
split
 
split
 
Line 4: Line 4:
<br>
<br>
'''Description:''' <br>
'''Description:''' <br>
Function initializes a list item in an accomplishment list. (used as setup_cb argument of [[API_Index#fill_accomlistbox|fill_accomlistbox]])
Initializes a list item in an accomplishment list. (used as setup_cb argument of [[API_Index#fill_accomlistbox|fill_accomlistbox]])
<br>
<br>
'''Arguments:'''<br>
'''Arguments:'''<br>

Latest revision as of 04:24, 31 January 2009

setup_accomrow

Definition:
setup_accomrow(int index, table itemlist, userdata subdlg, function click_cb) -> int newindex
Description:
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