Sha256: 3962f25b73553bc6bd3a2abfecb39886beccc552b51bb225f0506b8b45306913

Contents?: true

Size: 510 Bytes

Versions: 63

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

require 'glimmer-dsl-libui'

include Glimmer

data = [
  %w[cat calm meow],
  %w[dog loyal woof],
  %w[chicken bird cock-a-doodle-doo],
  %w[horse fast neigh],
  %w[cow slow moo]
]

window('Editable column animal sounds', 400, 200) {
  horizontal_box {
    table {
      text_column('Animal')
      text_column('Description')
      text_column('Sound (Editable)') {
        editable true
      }

      cell_rows data
    }
  }
  
  on_closing do
    puts 'Bye Bye'
  end
}.show

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.4.14 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.13 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.12 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.11 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.10 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.9 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.8 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.7 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.6 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.5 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.4 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.3 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.2 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.1 examples/editable_column_table.rb
glimmer-dsl-libui-0.4.0 examples/editable_column_table.rb
glimmer-dsl-libui-0.3.5 examples/editable_column_table.rb
glimmer-dsl-libui-0.3.4 examples/editable_column_table.rb
glimmer-dsl-libui-0.3.3 examples/editable_column_table.rb
glimmer-dsl-libui-0.3.2 examples/editable_column_table.rb
glimmer-dsl-libui-0.3.1 examples/editable_column_table.rb