class GLib::MainLoop

Overrides for GMainLoop, GLib's event loop

Public Instance Methods

run()
Also aliased as: run_without_thread_enabler
run_with_thread_enabler() click to toggle source
# File lib/ffi-glib/main_loop.rb, line 36
def run_with_thread_enabler
  case RUBY_ENGINE
  when 'jruby'
  when 'rbx'
  else # 'ruby' most likely
    ThreadEnabler.instance.setup_idle_handler
  end
  run_without_thread_enabler
end
Also aliased as: run
run_without_thread_enabler()
Alias for: run