Listsubdialog

From Vendetta Lua
Jump to navigationJump to search

List element in an item list. SetPrice and SetQuantity only work if the show_price and show_quantity arguments for fill_accomlistbox were set.

Functions

SetIcon

Definition:
SetIcon(userdata self, string img) -> nil

Description:
Set the item icon

Arguments:
self this dialog
img image filename

SetName

Definition:
SetName(userdata self, string name) -> nil

Description:
Set the item name

Arguments:
self this dialog
name item name

SetDesc

Definition:
SetDesc(userdata self, string desc, bool center) -> nil

Description:
Set the item description

Arguments:
self this dialog
desc item description
center center description. for titles

SetPrice

Definition:
SetPrice(userdata self, string price) -> nil

Description:
Set the item price

Arguments:
self this dialog
price item price

SetPriceColor

Definition:
SetPriceColor(userdata self, string color) -> nil

Description:
Set the item price color

Arguments:
self this dialog
color iup color

SetQuantity

Definition:
SetQuantity(userdata self, int quant) -> nil

Description:
Set the item quantity

Arguments:
self this dialog
quant quantity

SetTextcolor

Definition:
SetTextColor(userdata self, int color) -> nil

Description:
Set the item text color

Arguments:
self this dialog
color iup color

Variables

showprice

Description
show item price

showquantity

Description
show item quantity