Sha256: 327055efc150024e2ff40c25ab5f2738b8185667649ebae09836b8a8d9e65978
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
#!/usr/bin/env ruby require_relative '../../lib/ppcurses.rb' @app = PPCurses::Application.new @table_view = PPCurses::TableView.new values = [ ["true", "crossfit"], ["false", "reading"], ["true", "music"] ] col_a = PPCurses::TableColumn.new('bool', 6) @table_view.add_table_column(col_a) col_b = PPCurses::TableColumn.new('Activity', 12) @table_view.add_table_column(col_b) data_source = PPCurses::MultipleColumnDataSource.new(values) @table_view.data_source=data_source @app.content_view = @table_view @app.launch
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ppcurses-0.1.2 | test/table_view/testMultiColView.rb |