pyface.i_directory_dialog module

The interface for a dialog that allows the user to browse for a directory.

class pyface.i_directory_dialog.IDirectoryDialog(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: pyface.i_dialog.IDialog

The interface for a dialog that allows the user to browse for a directory.

message = Str()

The message to display in the dialog. The default is toolkit specific.

new_directory = Bool(True)

True iff the dialog should include a button that allows the user to create a new directory.

path = Str()

The path of the chosen directory.

class pyface.i_directory_dialog.MDirectoryDialog[source]

Bases: traits.has_traits.HasTraits

The mixin class that contains common code for toolkit specific implementations of the IDirectoryDialog interface.