PyDocs

Nav

Graphical user interfaces with Tk

FileDialog

  • FileDialog(master, title=None)
Create a basic file selection dialog.
Members of FileDialog

c

cancel_command
Trigger the termination of the dialog window.

d

dirs_double_event
Event handler for double-click event on directory.
dirs_select_event
Event handler for click event on directory.

f

files_double_event
Event handler for double-click event on file.
files_select_event
Event handler for single-click event on file.
filter_command
Filter the files by directory.

g

get_filter
Retrieve the file filter currently in use.
get_selection
Retrieve the currently selected item.
go
Render dialog and start event loop.

o

ok_command
Called when the user confirms the current selection.
ok_event
Exit dialog returning current selection.

q

quit
Exit dialog returning filename, if any.

s

set_filter
Set the file filter.
set_selection
Update the current file selection to file.
0 Examples
No examples for tkinter.filedialog/FileDialog.
See Also
No see-alsos for tkinter.filedialog/FileDialog
0 Notes
No notes for FileDialog