Created
July 19, 2012 23:01
-
-
Save tshirtman/3147466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''':class:`~kivy.properties.ListProperty`, defaults to [], equal to '\*'. | |
The filters to be applied to the files in the directory. | |
The filters are not reset when the path changes. You need to do that | |
yourself if desired. | |
There are two kinds of filters : | |
filename patterns : e.g. ['\*.png']. | |
You can use the following patterns: | |
========== ================================= | |
Pattern Meaning | |
========== ================================= | |
\* matches everything | |
? matches any single character | |
[seq] matches any character in seq | |
[!seq] matches any character not in seq | |
========== ================================= | |
And callables : | |
.. versionchanged:: 1.4.0 | |
if the filter is a callable (function or method). It will be called with | |
the path and the file name as arguments for each file in dir. The callable | |
should returns True to indicate a match and False overwise. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment