module GirFFIGtk::MainLoopOverride
Override main to start an idle thread to allow Ruby threads to run during the main loop, and to handle exceptions
Public Class Methods
included(base)
click to toggle source
# File lib/gir_ffi-gtk/base.rb, line 35 def self.included(base) base.extend ClassMethods class << base alias_method :main_without_override, :main alias_method :main, :main_with_override end end