GroupsTab

From Vendetta Lua
Jump to navigationJump to search

Container with with weapon groups. Created with create_ship_group_template

Functions

OnShow

Definition:
OnShow(userdata self) -> nil

Description:
stub

Arguments:
self this box

OnHide

Definition:
OnHide(userdata self) -> nil

Description:
stub

Arguments:
self this box

onportclick

Definition:
onportclick(userdata self, button, int portid, table portinfo) -> nil

Description:
update group list according to given values. Normally called from the port action method of the shipview icon buttons

Arguments:
self this box
button iup button whose action method was called
portid portid of port that was clicked
portinfo portinfo of ship is displayed in shipview

setup

Definition:
setup(userdata self) -> nil

Description:
initialize container

Arguments:
self this box