class_docstr: A class to embed a kernel into the GTK main event loop.
      
code: def stop(self):
      # FIXME: this one isn't getting called because we have no reliable
      # kernel shutdown.  We need to fix that: once the kernel has a
      # shutdown mechanism, it can call this.
      self.gtk_main_quit()
      sys.exit()
  
file_path: catboost/contrib/python/ipykernel/py2/ipykernel/gui/gtkembed.py
imports: import sys
  import gobject
  import gtk
label_desc: Use image node_id 5 for calling the GTKEmbed obj's underlying member method code with example usage: obj.stop() without return types