createRelocationDialog(title,
width,
height,
paths,
closeButtons=["OK"])
|
|
Creates a relocation browser dialog.
- Parameters:
title (str ) - Dialog title also used to name the browser widget within the
dialog (which is then needed to get the relocation values back
from the Dialog using either ui.Dialog.getValue or ui.Dialog.getValues ).
width (int ) - Dialog width.
height (int ) - Dialog height.
paths (list of str ) - List of paths to relocate.
closeButtons (list of str ) - List of close button names. Optional; by default, the dialog is
created with a single "OK" close button.
- Returns:
RelocationDialog
- A new
RelocationDialog object.
|