dicogis.ui.tab_files module

Name: TabFiles Purpose: Tab containing files widgets in DicoGIS Notebook.

Author: Julien Moura (@geojulien)

class dicogis.ui.tab_files.TabFiles(parent, listing_initial_folder=None, localized_strings=None)

Bases: Frame

Tab for listing and picking geodata files formats.

Parameters:

Frame – inherited ttk.Frame

__init__(parent, listing_initial_folder=None, localized_strings=None)

Initializes UI tab for files browsing and filtering.

Parameters:
  • parent – tkinter parent object

  • listing_initial_folder (Optional[Path]) – initial folder fro ask directory dialog. Defaults to Path().home().

  • localized_strings (Optional[dict]) – translated strings. Defaults to None.

on_browse_get_initial_listing_folder_path()

Browse and insert the path of target folder.

Return type:

Optional[Path]

Returns:

selected folder path or None if something went wrong