@@ -217,9 +217,19 @@ These do not emulate the native look-and-feel of the platform.
217217.. note :: The *FileDialog* class should be subclassed for custom event
218218 handling and behaviour.
219219
220- .. class :: FileDialog(master, title=None)
220+ .. class :: FileDialog(master, title=None, *, use_ttk=True )
221221
222222 Create a basic file selection dialog.
223+ Its layout -- a filter entry, side-by-side directory and file lists, and a
224+ selection entry -- follows the classic Motif file selection dialog.
225+ When *use_ttk * is true (the default), the dialog is built from the themed
226+ :mod: `tkinter.ttk ` widgets; when false, from the classic :mod: `tkinter `
227+ widgets.
228+
229+ .. versionchanged :: next
230+ The dialog is now built from the themed :mod: `tkinter.ttk ` widgets by
231+ default, instead of the classic :mod: `tkinter ` widgets.
232+ Added the *use_ttk * parameter.
223233
224234 .. method :: cancel_command(event=None)
225235
@@ -281,21 +291,27 @@ These do not emulate the native look-and-feel of the platform.
281291 Update the current file selection to *file *.
282292
283293
284- .. class :: LoadFileDialog(master, title=None)
294+ .. class :: LoadFileDialog(master, title=None, *, use_ttk=True )
285295
286296 A subclass of FileDialog that creates a dialog window for selecting an
287297 existing file.
288298
299+ .. versionchanged :: next
300+ Added the *use_ttk * parameter.
301+
289302 .. method :: ok_command()
290303
291304 Test that a file is provided and that the selection indicates an
292305 already existing file.
293306
294- .. class :: SaveFileDialog(master, title=None)
307+ .. class :: SaveFileDialog(master, title=None, *, use_ttk=True )
295308
296309 A subclass of FileDialog that creates a dialog window for selecting a
297310 destination file.
298311
312+ .. versionchanged :: next
313+ Added the *use_ttk * parameter.
314+
299315 .. method :: ok_command()
300316
301317 Test whether or not the selection points to a valid file that is not a
0 commit comments