summaryrefslogtreecommitdiff
path: root/examples/hello.xml (plain)
blob: 2e6e5445b95d528b99282e590e9d17363ea45369
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
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8"?>	<!--*-mode: xml;-*-->
<!-- Rapicorn Example
 ! Copyright (C) 2007 Tim Janik
 !
 | This work is provided "as is"; redistribution and modification
 | in whole or in part, in any medium, physical or electronic is
 | permitted without restriction.
 |
 | This work is distributed in the hope that it will be useful,
 | but WITHOUT ANY WARRANTY; without even the implied warranty of
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 |
 | In no event shall the authors or contributors be liable for any
 | direct, indirect, incidental, special, exemplary, or consequential
 | damages (including, but not limited to, procurement of substitute
 | goods or services; loss of use, data, or profits; or business
 | interruption) however caused and on any theory of liability, whether
 | in contract, strict liability, or tort (including negligence or
 | otherwise) arising in any way out of the use of this software, even
 | if advised of the possibility of such damage.
 !-->
<rapicorn-definitions xmlns:arg="http://rapicorn.org/xmlns" xmlns:def="http://rapicorn.org/xmlns" xmlns:prop="http://rapicorn.org/xmlns">

  <!-- main window -->
  <def:main-window inherit="Root">
    <OuterShell>
      <Label>
	<prop:markup-text>
	  <larger>Hello World!</larger>
	</prop:markup-text>
      </Label>
      <Button on-click="close"  >
	<Label markup-text="Close"/>
      </Button>
    </OuterShell>
  </def:main-window>

</rapicorn-definitions>