Sha256: dbe96d6cdf344d5088bee78813a053f7d1d6fcc1178de0b4988dc2fe71c5f1f6

Contents?: true

Size: 389 Bytes

Versions: 11

Compression:

Stored size: 389 Bytes

Contents

class HelloTab
  include Glimmer
  def launch
    shell {
      text "Hello, Tab!"
      tab_folder {
        tab_item {
          text "English"
          label {
            text "Hello, World!"
          }
        }
        tab_item {
          text "French"
          label {
            text "Bonjour, Univers!"
          }
        }
      }
    }.open
  end
end

HelloTab.new.launch

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
glimmer-dsl-swt-0.6.9 samples/hello/hello_tab.rb
glimmer-dsl-swt-0.6.8 samples/hello/hello_tab.rb
glimmer-dsl-swt-0.6.7 samples/hello/hello_tab.rb
glimmer-dsl-swt-0.6.6 samples/hello/hello_tab.rb
glimmer-dsl-swt-0.6.5 samples/hello/hello_tab.rb
glimmer-dsl-swt-0.6.4 samples/hello/hello_tab.rb
glimmer-dsl-opal-0.1.0 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.9 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.8 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.7 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.6 lib/samples/hello/hello_tab.rb