<?xml version="1.0"?> | |
<!-- this example demonstrates using markup to specify a rich user interface --> | |
<frame text="My Window" size="[300,300]"> | |
<label text="Save changes" bounds="[10,10,290,30]"/> | |
<panel bounds="[10,40,290,290]"> | |
<button text="OK" action="save()"/> | |
<button text="Cancel" action="close()"/> | |
</panel> | |
</frame> | |