code: def set_cursor(self, cursor):
      # docstring inherited
      self.set_cursor_from_name(
          _backend_gtk.mpl_to_gtk_cursor_name(cursor)
      )
  
imports: import functools
  import io
  import os
  import matplotlib
  from matplotlib import _api, backend_tools, cbook
  from matplotlib.backend_bases import ToolContainerBase, KeyEvent, LocationEvent, MouseEvent, ResizeEvent, CloseEvent
  from gi.repository import Gio, GLib, Gtk, Gdk, GdkPixbuf
  from .None import _backend_gtk
  from ._backend_gtk import _BackendGTK, _FigureCanvasGTK, _FigureManagerGTK, _NavigationToolbar2GTK, TimerGTK
label_desc: Use image node_id 3 for calling the FigureCanvasGTK4 obj's underlying member method code with example usage: obj.set_cursor(cursor) without return types