Garry's Mod Wiki

Revision Difference

DPropertySheet:SetupCloseButton#550558

<function name="SetupCloseButton" parent="DPropertySheet" type="panelfunc"> <ispanel>yes</ispanel> <description>Creates a close button on the right side of the <page>DPropertySheet</page> that will run the given callback function when pressed.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="func" type="function">Callback function to be called when the close button is pressed.</arg> </args> </function>