blob: 8c1e95f382273a87438ebeee27bcbdaa7a2c5c87 (
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
27
28
29
30
31
32
33
|
<qx.client.builder.Container>
<qx.ui.menu.Menu id='m2'>
<qx.ui.menu.Button label='New Window'/>
<qx.ui.menu.Button label='Overlapping'/>
<qx.ui.menu.Button label='Split Vertical'/>
<qx.ui.menu.Button label='Split Horizontal'/>
<qx.ui.menu.Button label='Next Window'/>
<qx.ui.menu.Button label='Previous Window'/>
</qx.ui.menu.Menu>
<qx.ui.menu.Menu id='m1'>
<qx.ui.menu.Button label='View/Lists'/>
<qx.ui.menu.Button label='Syntax Highlighting'/>
<qx.ui.menu.Separator/>
<qx.ui.menu.Button label='Window Font'/>
<qx.ui.menu.Button label='Printer Font' menu='m2'/>
</qx.ui.menu.Menu>
<qx.ui.form.Button id='btn' label='Reference Property' location='20,48'>
<qx.client.builder.EventListener type='click' args='e'>
var el = this.getElement();
m1.setLeft(qx.dom.Location.getPageBoxLeft(el));
m1.setTop(qx.dom.Location.getPageBoxBottom(el)); ;
m1.show();
e.setPropagationStopped(true);
</qx.client.builder.EventListener>
<qx.client.builder.EventListener type='mousedown' args='e'>
e.setPropagationStopped(true);
</qx.client.builder.EventListener>
</qx.ui.form.Button>
<qx.ui.basic.Atom label='Comma Delimited Property & Eval Property ' location='140,48' backgroundColor='#BDD2EF' dimension='220,220' border='qx.renderer.border.BorderPresets.outset'/>
</qx.client.builder.Container>
|