class_docstr: A class to embed a kernel into the GTK main event loop.
docstr: Run one iteration of the kernel and return True.
  
  GTK timer functions must return True to be called again, so we make the
  call to :meth:`do_one_iteration` and then return True for GTK.
docstr_tok: ["Run","one","iteration","of","the","kernel","and","return","True",".","GTK","timer","functions","must","return","True","to","be","called","again",",","so","we","make","the","call","to",":","meth",":","`","do_one_iteration","`","and","then","return","True","for","GTK","."]
code: def iterate_kernel(self):
      """Run one iteration of the kernel and return True.
  
      GTK timer functions must return True to be called again, so we make the
      call to :meth:`do_one_iteration` and then return True for GTK.
      """
      self.kernel.do_one_iteration()
      return True
  
file_path: catboost/contrib/python/ipykernel/py3/ipykernel/gui/gtkembed.py
imports: import sys
  import warnings
  import gobject
  import gtk
label_desc: Use image node_id 4 for calling the GTKEmbed obj's underlying member method code with example usage: obj.iterate_kernel() and returns: True