#!/usr/local/bin/python ## # 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. ## from graphapp import * def main(): b = newbutton("Hello", rect(0,0,100,30), None) mainloop() main()