Sha256: 1f1b81ceb58ad831b213cfb7d26022408f0516a77a68acedd4dbcc217712165f

Contents?: true

Size: 414 Bytes

Versions: 6

Compression:

Stored size: 414 Bytes

Contents

require_relative "../lib/glimmer"

class HelloTab
  include Glimmer
  def launch
    shell {
      text "SWT"
      tab_folder {
        tab_item {
          text "Tab 1"
          label { 
            text "Hello World!" 
          }
        }
        tab_item {
          text "Tab 2"
          label { 
            text "Bonjour Univers!" 
          }
        }
      }
    }.open
  end
end

HelloTab.new.launch

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
glimmer-0.1.10.470 samples/hello_tab.rb
glimmer-0.1.9.470 samples/hello_tab.rb
glimmer-0.1.8.470 samples/hello_tab.rb
glimmer-0.1.5.470 samples/hello_tab.rb
glimmer-0.1.4.470 samples/hello_tab.rb
glimmer-0.1.4.swt.pre.4.7.0 samples/hello_tab.rb