Garry's Mod Wiki

Revision Difference

DFileBrowser:SetFileTypes#513104

<function name="SetFileTypes" parent="DFileBrowser" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets the file type filter for the file list.⤶ ⤶ This accepts the same file extension wildcards as <page>file.Find</page>.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="fileTypes" type="string" default="*.*">A list of file types to display, separated by spaces e.g.&amp;amp;lt;br&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;⤶ ```⤶ &quot;*.lua *.txt *.mdl&quot;⤶ ```⤶ </arg>⤶ </args>⤶ </function>⤶ ⤶