Sha256: 89216261a05cf35159ad11885bf3d80b4ed7dabd950f9654e739bc557879e8ab
Contents?: true
Size: 532 Bytes
Versions: 22
Compression:
Stored size: 532 Bytes
Contents
module Redcar class ApplicationSWT class EventLoop def initialize @running = false end # Begins the SWT event loop. Blocks. def start @running = true display = ApplicationSWT.display while @running and not display.disposed? unless display.read_and_dispatch display.sleep end end display.dispose end # Halts the SWT event loop. def stop @running = false end end end end
Version data entries
22 entries across 22 versions & 1 rubygems