Garry's Mod Wiki

Revision Difference

DPropertySheet:SetupCloseButton#515315

<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>⤶ <args>⤶ <arg name="func" type="function">Callback function to be called when the close button is pressed.</arg>⤶ </args>⤶ </function>⤶ ⤶