code: def remove_toolitem(self, name):
      if name not in self._toolitems:
          self.toolmanager.message_event(f"{name} not in toolbar", self)
          return
  
      for group in self._groups:
          for toolitem, _signal in self._toolitems[name]:
              if toolitem in self._groups[group]:
                  self._groups[group].remove(toolitem)
      del self._toolitems[name]
  
imports: import functools
  import logging
  import os
  from pathlib import Path
  import matplotlib
  from matplotlib import _api, backend_tools, cbook
  from matplotlib.backend_bases import ToolContainerBase, CloseEvent, KeyEvent, LocationEvent, MouseEvent, ResizeEvent
  from gi.repository import Gio, GLib, GObject, Gtk, Gdk
  from .None import _backend_gtk
  from ._backend_gtk import _BackendGTK, _FigureCanvasGTK, _FigureManagerGTK, _NavigationToolbar2GTK, TimerGTK
label_desc: Use image node_id 6 for calling the ToolbarGTK3 obj's underlying member method code with example usage: obj.remove_toolitem(name) without return types