Garry's Mod Wiki

Revision Difference

DTooltip:SetContents#515119

<function name="SetContents" parent="DTooltip" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ What Panel you want put inside of the <page>DTooltip</page>⤶ ⤶ <note>You can only have one Panel at a time; use Parenting to add more</note>⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="panel" type="Panel">Contents</arg>⤶ <arg name="bDelete" type="boolean" default="false">If set to true, the panel in the first argument will be automatically removed when &lt;page&gt;DTooltip&lt;/page&gt; is closed via &lt;page&gt;DTooltip:Close&lt;/page&gt;.</arg>⤶ </args>⤶ </function>⤶ ⤶