Revision Difference
Panel:ApplyGWEN#510552
<function name="ApplyGWEN" parent="Panel" type="classfunc">⤶
<description>⤶
Used by <page>Panel:LoadGWENFile</page> and <page>Panel:LoadGWENString</page> to apply a GWEN controls table to a panel object.⤶
⤶
You can do this manually using <page>file.Read</page> and <page>util.JSONToTable</page> to import and create a GWEN table structure from a `.gwen` file. This method can then be called, passing the GWEN table's `Controls` member.⤶
</description>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="GWENTable" type="table">The GWEN controls table to apply to the panel.</arg>⤶
</args>⤶
</function>⤶
⤶