/* * Hello Button * ------------ * This program puts "Hello" into a button. * The button doesn't do anything when you click on it. * * Notice that the program detects that you have no visible windows, * so it automatically creates a window and shows it. * * Also notice that event handling happens automatically. */ #include void main(void) { newbutton("Hello", rect(0,0,100,30), NULL); }