      _RECREATE_OBJECTS["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 _get_contextmenu(widget):
      """ Create a context menu, store its mapping and return """
      rc_menu = ContextMenu(widget)
 
</s> remove def _get_tooltip(widget, text, wraplength=600):
 </s> add def _get_tooltip(widget, text=None, text_variable=None, wraplength=600): </s> remove                 _get_tooltip(ctl, text=self.option.helptext, wraplength=600)
 </s> add                 tooltip_kwargs = dict(text=self.option.helptext, wraplength=600)
                if self.option.sysbrowser is not None:
                    tooltip_kwargs["text_variable"] = self.option.tk_var
                _get_tooltip(ctl, **tooltip_kwargs) </s> remove                  waittime=400, wraplength=250):
 </s> add                  text_variable=None, waittime=400, wraplength=250):
    return Tooltip(widget, text=text, text_variable=text_variable, wraplength=wraplength)
      _RECREATE_OBJECTS["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, text_variable=text_variable, wraplength=wraplength)
  
  
  def _get_contextmenu(widget):
      """ Create a context menu, store its mapping and return """
      rc_menu = ContextMenu(widget)
keep keep keep keep replace keep keep keep keep keep
 GUI: Display paths in tooltips 
lib/gui/control_helper.py