#!/usr/local/bin/python ## # Special Windows # --------------- # This program creates a window which is not a StandardWindow. # # The window has a titlebar, a maximize and minimize button and # the 'closebox' button in the titlebar which lets the user close # the window. # # The window cannot be resized, except by use of the maximize # buttton. ## from graphapp import * def main(): w = newwindow("Special Window", rect(0,0,300,250), Titlebar + Closebox + Minimize + Maximize) show(w) mainloop() main()