  # original config or are prone to getting destroyed when the original widget is destroyed)
  _RECREATE_OBJECTS = dict(tooltips=dict(), commands=dict(), contextmenus=dict())
  
  
  def _get_tooltip(widget, text=None, text_variable=None, wraplength=600):
      """ Store the tooltip layout and widget id in _TOOLTIPS and return a tooltip """
      _RECREATE_OBJECTS["tooltips"][str(widget)] = {"text": text,
                                                    "text_variable": text_variable,
                                                    "wraplength": wraplength}
      logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wraplength: %s)",
 
</s> remove                                                   "wraplength": wraplength}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wraplength: %s)",
                 widget, text, wraplength)
    return Tooltip(widget, text=text, text_variable=text_variable, wraplength=wraplength)
 </s> add                                                   "wrap_length": wrap_length}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wrap_length: %s)",
                 widget, text, wrap_length)
    return Tooltip(widget, text=text, text_variable=text_variable, wrap_length=wrap_length) </s> remove                  text_variable=None, waittime=400, wraplength=250):
 </s> add                  text_variable=None, wait_time=400, wrap_length=250): </s> remove         self._waittime = waittime  # in milliseconds, originally 500
        self._wraplength = wraplength  # in pixels, originally 180
 </s> add         self._waittime = wait_time  # in milliseconds, originally 500
        self.wrap_length = wrap_length  # in pixels, originally 180 </s> remove         "Unregister operations and revert redirection created by .__init__."
 </s> add         "de-register operations and revert redirection created by .__init__." </s> remove         to *args to accomplish that.  For an example, see colorizer.py.
 </s> add         to *args to accomplish that.
def _get_tooltip(widget, text=None, text_variable=None, wrap_length=600):
  # original config or are prone to getting destroyed when the original widget is destroyed)
  _RECREATE_OBJECTS = dict(tooltips=dict(), commands=dict(), contextmenus=dict())
  
  
def _get_tooltip(widget, text=None, text_variable=None, wrap_length=600):
      """ Store the tooltip layout and widget id in _TOOLTIPS and return a tooltip """
      _RECREATE_OBJECTS["tooltips"][str(widget)] = {"text": text,
                                                    "text_variable": text_variable,
                                                    "wraplength": wraplength}
      logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wraplength: %s)",
keep keep keep keep replace keep keep keep keep keep
 GUI fixes
  - Split themes and styles to own module
  - Fix border on console window
  - variable name updates to make pep8 happy 
lib/gui/control_helper.py