Sha256: 673e099f8456ac3bd3bf6abe122bf4c5bbf8fd6290d38c2f7c81ae338ca50eb7

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 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

4 entries across 4 versions & 1 rubygems

Version Path
glimmer-dsl-opal-0.0.5 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.4 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.3 lib/samples/hello/hello_tab.rb
glimmer-dsl-opal-0.0.2 lib/samples/hello/hello_tab.rb