[Bf-committers] Filter files with path_menu

Campbell Barton ideasman42 at gmail.com
Tue Dec 4 01:22:20 CET 2012


You have to pass a callback function...

def my_func(ext): return (ext == ".txt")
self.path_menu(..., filter_ext=my_func)

On Tue, Dec 4, 2012 at 6:07 AM, Fabio Russo <ruesp83 at libero.it> wrote:
> Hello to all,
> I wanted to ask how to filter the extensions with path_menu.
> Thank you,
> ruesp83
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list