Sha256: 748e108eae58bed5b09f9ee6562d3691f07a4158d9302aac5822cfeef662e6c2
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
require_relative 'r_widget' class RShell < RWidget include_package 'org.eclipse.swt.layout' include_package 'org.eclipse.swt.widgets' attr_reader :display def initialize(display = Display.new) @display = display @widget = Shell.new(@display) @widget.setLayout(FillLayout.new) end def open @widget.pack @widget.open until @widget.isDisposed @display.sleep unless @display.readAndDispatch end @display.dispose end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
glimmer-0.3.5 | lib/command_handlers/models/r_shell.rb |