                   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)
      _RECREATE_OBJECTS["contextmenus"][str(widget)] = rc_menu
      logger.debug("Adding to Context menu: (widget: %s. rc_menu: %s)",
                   widget, rc_menu)
 
</s> remove def get_tooltip(widget, text, wraplength=600):
 </s> add def _get_tooltip(widget, text, wraplength=600): </s> remove def add_command(name, func):
 </s> add def _add_command(name, func): </s> remove             rc_menu = get_contextmenu(ctl)
 </s> add             rc_menu = _get_contextmenu(ctl) </s> remove         add_command(ctl.cget("command"), cmd)
        rc_menu = get_contextmenu(tbox)
 </s> add         _add_command(ctl.cget("command"), cmd)
        rc_menu = _get_contextmenu(tbox) </s> remove         iconmapping = {"home": "reset",
 </s> add         iconmapping = {"home": "reload",
def _get_contextmenu(widget):
                   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)
      _RECREATE_OBJECTS["contextmenus"][str(widget)] = rc_menu
      logger.debug("Adding to Context menu: (widget: %s. rc_menu: %s)",
                   widget, rc_menu)
keep keep keep keep replace keep keep keep keep keep
 GUI Updates (#940)

* lib.gui: Update icons
* tools.cli: Add video filetype flag to mask input
* lib.gui.popup_configure: Refresh GUI on config save
* lib.gui._config: Add Icon size and load last session options
* lib.gui.control_helper - Add control modification tracking
* lib.gui - Add Projects and Last Session
- Main root title handled by projects
- Add Hotkeys
- Create projects module
- split fsw and fst filetypes
- Add last_session saving

* lib.project
- Documentation
- Ask confirm on closing unsaved project
-Fixups

* Track model folder changes
- Shuffle some globals
- Activate System Verbosity for GUI

* lib.gui.utils - Documentation and clean up
- lib.gui.custom_widgets - Create and document

* Add GUI config option to disable auto loading model stats 
lib/gui/control_helper.py