class_docstr: A class to embed a kernel into the GTK main event loop.
      
code: def __init__(self, kernel):
      self.kernel = kernel
      # These two will later store the real gtk functions when we hijack them
      self.gtk_main = None
      self.gtk_main_quit = None
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/gui/gtk3embed.py
imports: import sys
  import gi
  from gi.repository import GObject, Gtk
label_desc: Use image node_id 1 to create a new GTKEmbed object from inherited base classes: object with example: obj = GTKEmbed(kernel)