summaryrefslogtreecommitdiffstats
path: root/languages/kjssupport/template/app.js
blob: f15d3bfa2ca2606572133c3adcfaaa12b59de4c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env kjscmd

// Create main view
var mw = new TDEMainWindow();
var lv = new TDEListView( mw );
mw.setCentralWidget(lv);

lv.addColumn('One');
lv.addColumn('Two');
lv.addColumn('Three');

lv.insertItem( 'Something', "Nothing", "Thing" );
lv.insertItem( 'Something', "Nothing", "Thing" );
lv.insertItem( 'Something', "Nothing", "Thing" );
lv.insertItem( 'Something', "Nothing", "Thing" );

mw.show();