summaryrefslogtreecommitdiffstats
path: root/kjsembed/docs/examples/opaquevalues/opaque.js
blob: 3c22f04aa894cbd3bbe02fdad1adcdace191a4d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env kjscmd

// Usage: kjscmd --noexec opaque.js 2>/dev/null

//
// Test TQVariant support
//

var w = new TQLabel();
w.text = 'Test';

var sp = w.sizePolicy;
println(sp);

var cr = w.childrenRegion;
println(cr);

//
// Test void * support
//

var view = part.view();
println(view);
println(dump(view));

application.quit();