Sha256: 4780c70ebcfb2734fd75eec4f3b12d2f8e6ae02b54aacc4af2a6ce1272479575

Contents?: true

Size: 432 Bytes

Versions: 30

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true

require 'glimmer-dsl-libui'

include Glimmer

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

window('Animal sounds', 300, 200) {
  horizontal_box {
    table {
      text_column('Animal')
      text_column('Description')
      checkbox_column('Mammal')

      cell_rows data
    }
  }
}.show

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.2.12 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.11 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.10 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.9 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.8 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.7 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.6 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.5 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.4 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.3 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.2 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.1 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.2.0 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.11 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.10 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.9 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.8 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.7 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.6 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.5 examples/basic_table_checkbox.rb