Garry's Mod Wiki

Revision Difference

DForm:TextEntry#550168

<function name="TextEntry" parent="DForm" type="panelfunc"> <ispanel>yes</ispanel> <description>Adds a <page>DTextEntry</page> to a <page>DForm</page></description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="label" type="string">The label to be next to the text entry</arg> <arg name="convar" type="string">The console variable to be changed when the text entry is changed</arg> </args> <rets> <ret name="" type="Panel">The created <page>DTextEntry</page></ret> <ret name="" type="Panel">The created <page>DLabel</page></ret> </rets> </function>