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.1.4 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.3 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.2 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.1 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.1.0 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.0.28 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.0.27 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.0.26 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.0.25 examples/basic_table_checkbox.rb
glimmer-dsl-libui-0.0.24 examples/basic_table_checkbox.rb