arboretum/layers/tracks/qt_tracks_layer.py
def _on_tail_length_change(self, event=None):
        """Receive layer model edge line width change event and update slider.

        Parameters
        ----------
        event : qtpy.QtCore.QEvent, optional.
            Event from the Qt context, by default None.
        """
        with self.layer.events.tail_length.blocker():
            value = self.layer.tail_length
            value = np.clip(value, 1, MAX_TAIL_LENGTH)
            self.tail_length_slider.setValue(value)
Receive layer model edge line width change event and update slider.

        Parameters
        ----------
        event : qtpy.QtCore.QEvent, optional.
            Event from the Qt context, by default None.
        
Receive layer model edge line width change event and update slider.
Parameters


Receive layer model edge line width change event and update slider . Parameters
def _on_tail_length_change(self, event=None):
        with self.layer.events.tail_length.blocker():
            value = self.layer.tail_length
            value = np.clip(value, 1, MAX_TAIL_LENGTH)
            self.tail_length_slider.setValue(value)
def _on_tail_length_change ( self , event = None ) : with self . layer . events . tail_length . blocker ( ) : value = self . layer . tail_length value = np . clip ( value , 1 , MAX_TAIL_LENGTH ) self . tail_length_slider . setValue ( value )
Receive layer model edge line width change event and update slider.
Receive layer model edge line width change event and update slider .
"""Receive layer model edge line width change event and update slider.

        Parameters
        ----------
        event : qtpy.QtCore.QEvent, optional.
            Event from the Qt context, by default None.
        """
self
event