import "ecere" class Form1 : Window { text = "Form1"; background = activeBorder; borderStyle = sizable; hasMaximize = true; hasMinimize = true; hasClose = true; size = { 320, 304 }; Button button1 { this, text = "button1", position = { 128, 104 }; bool NotifyClicked(Button button, int x, int y, Modifiers mods) { int c; for(c = 0; c < 10000; c++) printf("this is a test"); return true; } }; } Form1 form1 {};