Accomlistsubdialog

From Vendetta Lua
Jump to navigationJump to search

List element in an accomplishment list. SetIcon is only valid for dialogs created as icon rows and SetTitle only for accomplishment categories (items whose title field is set in the itemlist parameter of fill_accomlistbox)

Functions

SetIcon

Definition:
SetIcon(userdata self, int index, string img, imguv, imgsize, function click_cb, string mouseovertext) -> nil

Description:
Set the icon properties of an icon in this dialog

Arguments:
self this dialog
index index within this row
img path to icon image
imguv iup uv mapping for icon
imgsize iup image size
click_cb function to call on click
mouseover tooltip text for item

SetTitle

Definition:
SetTitle(userdata self, string title) -> nil

Description:
Set title for this dialog

Arguments:
self this dialog
title title to set