@staticmethod
def truncate(slider):
    """
        Used to truncate slider values since ttk doesn't support the resolution option.
        :return:
        """
    value = slider.get()
    if int(value) != value:
        slider.set(int(value))
