GroupsTab

From Vendetta Lua
Revision as of 02:36, 23 January 2009 by Chefkoch (talk | contribs) (New page: Container with with weapon groups. Created with create_ship_group_template == Functions == === OnShow === '''Definition:'''<br> OnShow(userdata s...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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