Garry's Mod Wiki

Revision Difference

DFrame:SetDeleteOnClose#568389

<function name="SetDeleteOnClose" parent="DFrame" type="panelfunc"> <description>Determines whether or not the DFrame is removed when it is closed with <page>DFrame:Close</page>.</description> <realm>Client and Menu</realm> <file line="8">lua/vgui/dframe.lua</file>⤶ <args> <arg name="shouldDelete" type="boolean">Whether or not to delete the frame on close. This is `true` by default.</arg> </args> </function>