guid/assets/rectangle_with_event.gui

8 lines
132 B
Plaintext

Rectangle {
id: clickable
color: "blue"
width: 300
height: 300
onClick: emit ["hello, there", "i has events"]
}