You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/kjssupport/template/app.js

19 lines
406 B

#!/usr/bin/env kjscmd
// Create main view
var mw = new KMainWindow();
var lv = new KListView( 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();