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.log_files
    • navigate.model
    • navigate.tools
    • navigate.view
      • navigate.view.configurator_application_window
      • navigate.view.custom_widgets
        • navigate.view.custom_widgets.ArrowLabel
        • navigate.view.custom_widgets.CollapsibleFrame
        • navigate.view.custom_widgets.DockableNotebook
        • navigate.view.custom_widgets.LabelInputWidgetFactory
        • navigate.view.custom_widgets.common
        • navigate.view.custom_widgets.hover
        • navigate.view.custom_widgets.popup
        • navigate.view.custom_widgets.scrollbars
        • navigate.view.custom_widgets.validation
      • navigate.view.main_application_window
      • navigate.view.main_window_content
      • navigate.view.popups
      • navigate.view.splash_screen
navigate
  • Software API
  • navigate.view
  • navigate.view.custom_widgets
  • navigate.view.custom_widgets.validation
  • navigate.view.custom_widgets.validation.ValidatedMixin
  • View page source

navigate.view.custom_widgets.validation.ValidatedMixin

class navigate.view.custom_widgets.validation.ValidatedMixin(*args, error_var=None, **kwargs)

Bases: object

Validation functions

These functions are used to validate the input of the widget. They are called by the validatecommand attribute of the widget. They return True if the input is valid and False if it is not. They also set the error string to be displayed in the widget.

__init__(*args, error_var=None, **kwargs)

Initialize the ValidatedMixin

Parameters:
  • *args – Variable length argument list

  • error_var (tk.StringVar) – The variable to store the error message in if error_var = None, creates its own variable

  • **kwargs – Keyword arguments to pass to the parent class

Methods

__init__(*args[, error_var])

Initialize the ValidatedMixin

add_history(event)

Add the current value to the history of the widget.

redo(event)

Redo the last change that was undone.

trigger_focusout_validation()

Trigger the focusout validation of the widget

undo(event)

Undo the last change to the widget.

Attributes

error

The variable to store the error message in

undo_history

The undo history of the widget

redo_history

The redo history of the widget

hover

The hover bubble for the widget

add_history(event)

Add the current value to the history of the widget.

Parameters:

event (tk.Event) – The event that triggered the history addition

redo(event)

Redo the last change that was undone.

Parameters:

event (tk.Event) – The event that triggered the redo

trigger_focusout_validation()

Trigger the focusout validation of the widget

undo(event)

Undo the last change to the widget.

Parameters:

event (tk.Event) – The event that triggered the undo

error

The variable to store the error message in

Type:

tk.StringVar

hover

The hover bubble for the widget

Type:

Hover

redo_history

The redo history of the widget

Type:

list

undo_history

The undo history of the widget

Type:

list

Previous Next

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