Basicly create one of button.
app new comp -> $windowName as Button:
"inner": "mytext",
"Width": "50",
"Height": "50".
;
set $windowName (window):
"Title": "Calc",
"Width": "270",
"Height": "330"
;
app new comp -> $windowName as Button:
"inner": "mytext",
"Width": "50",
"Height": "50".
;
show $windowName;
//Coded with BH Beta 0.5.2