import "ecere" class Form1 : Window { text = "Form1"; hasMaximize = true; hasMinimize = true; hasClose = true; size = { 640, 480 }; background = activeBorder; borderStyle = sizable; Label label1 { isGroupBox = true, parent = this, text = "label1", size = Size { 212, 133 }, anchor = Anchor { left = 152, top = 80 } }; Button button1 { label1, text = "button1", position = { 40, 40 }; bool NotifyClicked(Button button, int x, int y, Modifiers mods) { *(int *)0 = 0; return true; } }; } Form1 form1 {};