code: def _mpl_modifiers(event_state, *, exclude=None):
      modifiers = [
          ("ctrl", Gdk.ModifierType.CONTROL_MASK, "control"),
          ("alt", Gdk.ModifierType.MOD1_MASK, "alt"),
          ("shift", Gdk.ModifierType.SHIFT_MASK, "shift"),
          ("super", Gdk.ModifierType.MOD4_MASK, "super"),
      ]
      return [
          name
          for name, mask, key in modifiers
          if exclude != key and event_state & mask
      ]
  
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 14 for calling the FigureCanvasGTK3 obj's underlying member method code with example usage: obj._mpl_modifiers(event_state) and returns: unknown