FileSelectParams(bpy_struct)

base class — bpy_struct

class bpy.types.FileSelectParams(bpy_struct)

File Select Parameters

directory

Directory displayed in the file browser

Type:string, default “”, (never None)
display_type

Display mode for the file list

  • FILE_SHORTDISPLAY Short List, Display files as short list.
  • FILE_LONGDISPLAY Long List, Display files as a detailed list.
  • FILE_IMGDISPLAY Thumbnails, Display files as thumbnails.
Type:enum in [‘FILE_SHORTDISPLAY’, ‘FILE_LONGDISPLAY’, ‘FILE_IMGDISPLAY’], default ‘FILE_SHORTDISPLAY’
filename

Active file in the file browser

Type:string, default “”, (never None)
filter_glob
Type:string, default “”, (never None)

Filter by name, supports ‘*’ wilcard

Type:string, default “”, (never None)
show_hidden

Show hidden dot files

Type:boolean, default False
sort_method
  • FILE_SORT_ALPHA Sort alphabetically, Sort the file list alphabetically.
  • FILE_SORT_EXTENSION Sort by extension, Sort the file list by extension.
  • FILE_SORT_TIME Sort by time, Sort files by modification time.
  • FILE_SORT_SIZE Sort by size, Sort files by size.
Type:enum in [‘FILE_SORT_ALPHA’, ‘FILE_SORT_EXTENSION’, ‘FILE_SORT_TIME’, ‘FILE_SORT_SIZE’], default ‘FILE_SORT_ALPHA’
title

Title for the file browser

Type:string, default “”, (readonly, never None)
use_filter

Enable filtering of files

Type:boolean, default False
use_filter_backup

Show .blend1, .blend2, etc. files

Type:boolean, default False
use_filter_blender

Show .blend files

Type:boolean, default False
use_filter_folder

Show folders

Type:boolean, default False
use_filter_font

Show font files

Type:boolean, default False
use_filter_image

Show image files

Type:boolean, default False
use_filter_movie

Show movie files

Type:boolean, default False
use_filter_script

Show script files

Type:boolean, default False
use_filter_sound

Show sound files

Type:boolean, default False
use_filter_text

Show text files

Type:boolean, default False

Inherited Properties

Inherited Functions

References

Previous topic

FieldSettings(bpy_struct)

Next topic

Filter2DActuator(Actuator)