code: def _mpl_to_gtk_cursor(mpl_cursor):
      return Gdk.Cursor.new_from_name(
          Gdk.Display.get_default(),
          _backend_gtk.mpl_to_gtk_cursor_name(mpl_cursor),
      )
  
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 1 for calling a global function with example usage: _mpl_to_gtk_cursor(mpl_cursor) and returns: Gdk