  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  def set_slider_rounding(value, var, d_type, round_to, min_max):
      """ Set the underlying variable to correct number based on slider rounding """
      if d_type == float:
          var.set(round(float(value), round_to))
 
</s> remove from .utils import ContextMenu, FileHandler, get_images
 </s> add from .utils import ContextMenu, FileHandler, get_config, get_images </s> remove         tbox = ttk.Entry(self.frame, width=8, textvariable=self.tk_var, justify=tk.RIGHT)
 </s> add         tbox = ttk.Entry(self.frame,
                         width=8,
                         textvariable=self.tk_var,
                         justify=tk.RIGHT,
                         font=get_config().default_font)
# We store Tooltips globally when they are created
# Because we need to add them back to newly cloned widgets
_TOOLTIPS = dict()


def get_tooltip(widget, text, wraplength=600):
    """ Store the tooltip layout and widget id in _TOOLTIPS and return a tooltip """
    global _TOOLTIPS  # pylint:disable=global-statement
    _TOOLTIPS[str(widget)] = {"text": text,
                              "wraplength": wraplength}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wraplength: %s)",
                 widget, text, wraplength)
    return Tooltip(widget, text=text, wraplength=wraplength)

  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
# We store Tooltips globally when they are created
# Because we need to add them back to newly cloned widgets
_TOOLTIPS = dict()


def get_tooltip(widget, text, wraplength=600):
    """ Store the tooltip layout and widget id in _TOOLTIPS and return a tooltip """
    global _TOOLTIPS  # pylint:disable=global-statement
    _TOOLTIPS[str(widget)] = {"text": text,
                              "wraplength": wraplength}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wraplength: %s)",
                 widget, text, wraplength)
    return Tooltip(widget, text=text, wraplength=wraplength)

  
  def set_slider_rounding(value, var, d_type, round_to, min_max):
      """ Set the underlying variable to correct number based on slider rounding """
      if d_type == float:
          var.set(round(float(value), round_to))
keep keep add keep keep keep keep keep
 Gui Updates (#847)

* GUI Improvements

 - Add basic GUI Config options (available in settings menu)
 - Dynamically add/remove columns on settings panel resize
 - Wrap text properly on info headers
 - Fix helptext formatting for configs
 - Standardize Tooltip widths
 - [code] Apply some widget naming
 - [code] Rename radio_columns to option_columns
 - [code] fix column count checking
 - Add Starting Tab config item
 - Add info boxes to main pages
 - Global font settings
 - Add resources to help menu 
lib/gui/control_helper.py