Sha256: 16870fa0e1b2c8ed033e22feb100285eb7bde4da47d055b4166a9bb69588c360

Contents?: true

Size: 496 Bytes

Versions: 97

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

require 'glimmer-dsl-libui'

include Glimmer

data = [
  ['cat', 'meow', [true, 'mammal']],
  ['dog', 'woof', [true, 'mammal']],
  ['chicken', 'cock-a-doodle-doo', [false, 'mammal']],
  ['horse', 'neigh', [true, 'mammal']],
  ['cow', 'moo', [true, 'mammal']]
]

window('Animal sounds', 400, 200) {
  horizontal_box {
    table {
      text_column('Animal')
      text_column('Sound')
      checkbox_text_column('Description')

      cell_rows data
    }
  }
}.show

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.6.0.pre.3 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.6.0.pre.2 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.6.0.pre.1 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.6.0.pre.0 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.24 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.23 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.22 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.21 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.20 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.19 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.18 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.17 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.16 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.15 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.14 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.13 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.12 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.11 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.10 examples/basic_table_checkbox_text.rb
glimmer-dsl-libui-0.5.9 examples/basic_table_checkbox_text.rb