Garry's Mod Wiki


  Panel:ApplyGWEN( table GWENTable )


Used by Panel:LoadGWENFile and Panel:LoadGWENString to apply a GWEN controls table to a panel object.

You can do this manually using file.Read and util.JSONToTable 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.


1 table GWENTable
The GWEN controls table to apply to the panel.