navigate Logo

Getting Started

  • Quick Start Guide
  • Software Installation
  • I Want To…

User Guide

  • Supported Hardware
  • Supported File Formats
  • User Interface Walkthrough
  • Setting Up A Microscope
  • Acquiring Data
  • Case Studies

Development

  • Contributing Guidelines
  • Developer Install
  • Software Architecture
  • Feature Container
  • REST-API
  • Plugin Architecture

Troubleshooting & Known Issues

  • Troubleshooting
  • Known Issues

Plugins

  • navigate Plugin Template
  • navigate Confocal Projection
  • navigate at Scale
  • navigate Constant Velocity Acquisition
  • navigate MMCore
  • navigate ilastik Server
  • navigate Photoactivation

Reference

  • Implemented Microscopes
  • Software API
    • navigate.config
    • navigate.controller
    • navigate.controller.configurator
    • navigate.log_files
    • navigate.model
    • navigate.tools
      • navigate.tools.common_dict_tools
      • navigate.tools.common_functions
      • navigate.tools.decorators
      • navigate.tools.file_functions
      • navigate.tools.image
      • navigate.tools.linear_algebra
      • navigate.tools.main_functions
      • navigate.tools.multipos_table_tools
      • navigate.tools.sdf
      • navigate.tools.slicing
      • navigate.tools.tk_thread_guard
        • navigate.tools.tk_thread_guard.install_tk_thread_guard
      • navigate.tools.waveform_template_funcs
      • navigate.tools.xml_tools
    • navigate.view
navigate
  • Software API
  • navigate.tools
  • navigate.tools.tk_thread_guard
  • navigate.tools.tk_thread_guard.install_tk_thread_guard
  • View page source

navigate.tools.tk_thread_guard.install_tk_thread_guard

navigate.tools.tk_thread_guard.install_tk_thread_guard(root, logger: Optional[Logger] = None) → bool

Install a best-effort logger for off-main-thread Tk calls.

Parameters:
  • root (tkinter.Tk) – Tk root instance.

  • logger (logging.Logger, optional) – Logger used for warnings. Defaults to this module logger.

Returns:

True if patch installed in this call, False if already installed.

Return type:

bool

Previous Next

© Copyright 2026, Dean Lab, UT Southwestern Medical Center.