Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- User interface descriptor example:
- {"app_id":1,
- ".windows":[
- {
- ".title":"hello world",
- ".winid":1,
- ".type":"normal",
- ".size":[360,180],
- ".controls":[
- {
- ".name":"lbl1",
- ".type":"label",
- ".caption":"press the button"
- },
- {
- ".name":"btn1",
- ".actions:":[{"click":"somefunction"},{"hover":"otherfunction"}]
- }
- {
- ".name":"txt1",
- ".type":"textbox",
- ".size":2048}],
- ".menu":
- [
- {"&File":[
- {
- ".caption":"&New",
- ".action":"afunction"
- }]
- }]
- }]
- }
Add Comment
Please, Sign In to add comment