geopyv.gui.selectors

Package Contents

Classes

FileSelector

Graphical user interface to allow the user to select a results file using the native file browser on the host OS.

ImageSelector

Graphical user interface to allow the user to select an image using the native file browser on the host OS.

class geopyv.gui.selectors.FileSelector

Graphical user interface to allow the user to select a results file using the native file browser on the host OS.

get_path(message, directory)

Method to get the path of the selected file.

Parameters:
  • message (str) – Message to display on the file browser window header.

  • directory (str) – Directory to start from.

Returns:

path – Path to selected image file.

Return type:

str

class geopyv.gui.selectors.ImageSelector

Graphical user interface to allow the user to select an image using the native file browser on the host OS.

get_path(message, directory)

Method to get the path of the selected file.

Parameters:
  • message (str) – Message to display on the file browser window header.

  • directory (str) – Directory to start from.

Returns:

path – Path to selected image file.

Return type:

str