src/eric7/Documentation/Source/eric7.Project.Project.html

branch
eric7
changeset 10256
1b728f26d1ae
parent 10114
593c609f80ee
child 10321
4a017fdf316f
diff -r a25f95af0a51 -r 1b728f26d1ae src/eric7/Documentation/Source/eric7.Project.Project.html
--- a/src/eric7/Documentation/Source/eric7.Project.Project.html	Tue Oct 24 11:45:39 2023 +0200
+++ b/src/eric7/Documentation/Source/eric7.Project.Project.html	Wed Oct 25 14:30:33 2023 +0200
@@ -675,6 +675,10 @@
 <td>Public method to get a file selection string for the given categories.</td>
 </tr>
 <tr>
+<td><a href="#Project.getFileCategoryFilters">getFileCategoryFilters</a></td>
+<td>Public method to get a list of file selection filters for the given categories.</td>
+</tr>
+<tr>
 <td><a href="#Project.getFileCategoryString">getFileCategoryString</a></td>
 <td>Public method to get a user string for the given category.</td>
 </tr>
@@ -2702,6 +2706,43 @@
 str
 </dd>
 </dl>
+<a NAME="Project.getFileCategoryFilters" ID="Project.getFileCategoryFilters"></a>
+<h4>Project.getFileCategoryFilters</h4>
+<b>getFileCategoryFilters</b>(<i>categories=None, withOthers=False, withAll=True</i>)
+
+<p>
+        Public method to get a list of file selection filters for the given categories.
+</p>
+<dl>
+
+<dt><i>categories</i> (list of str (optional))</dt>
+<dd>
+list of file type categories (defaults to None).
+            A value of None means all categories except 'OTHERS'.
+</dd>
+<dt><i>withOthers</i> (bool (optional))</dt>
+<dd>
+flag indicating to include the 'OTHERS' category
+            (defaults to False)
+</dd>
+<dt><i>withAll</i> (bool (optional))</dt>
+<dd>
+flag indicating to include a filter for 'All Files'
+            (defaults to True)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+list of file selection filter strings
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+list of str
+</dd>
+</dl>
 <a NAME="Project.getFileCategoryString" ID="Project.getFileCategoryString"></a>
 <h4>Project.getFileCategoryString</h4>
 <b>getFileCategoryString</b>(<i>category</i>)

eric ide

mercurial