docs: def apply_new_global_variable_name(self, path, new_gv_name):
          """Change global variable name/key according handed string
  
          Updates the global variable name only if different and already in list store.
  
          :param path: The path identifying the edited global variable tree view row, can be str, int or tuple.
          :param str new_gv_name: New global variable name
          """
          gv_name = self.list_store[path][self.NAME_STORAGE_ID]
          if gv_name == new_gv_name or not self.global_variable_is_editable(gv_name, 'Name change'):
              return
  
          data_value = self.model.global_variable_manager.get_representation(gv_name)
          data_type = self.model.global_variable_manager.get_data_type(gv_name)
  
          try:
              self.model.global_variable_manager.delete_variable(gv_name)
              self.model.global_variable_manager.set_variable(new_gv_name, data_value, data_type=data_type)
              gv_name = new_gv_name
          except (AttributeError, RuntimeError, TypeError) as e:
              logger.warning("Can not apply new name '{0}'".format(e))
          self.update_global_variables_list_store()
          self.select_entry(gv_name)
  
          # informing the tab key feature handler function about the changed core element id
          if hasattr(self.tree_view_keypress_callback.__func__, "core_element_id"):
              self.tree_view_keypress_callback.__func__.core_element_id = gv_name