Chapter 41. Window Managers and Window Information

   

Practical Programming in Tcl & Tk, Third Edition
By Brent B. Welch

Table of Contents
Part V.  Tk Details


The window manager controls the size and location of other applications' windows. The window manager is built into Windows and Macintosh, while it is a separate application on UNIX. The wm command provides an interface to the window manager. The winfo command returns information about windows.

Management of top-level windows is done by the window manager. The Macintosh and Windows platforms have the window manager built in to the operating system, but in UNIX the window manager is just another application. The window manager controls the position of top-level windows, provides a way to resize windows, open and close them, and implements a border and decorative title for windows. The wm command interacts with the window manager so that the application can control its size, position, and iconified state.

If you need to fine-tune your display, you may need some detailed information about widgets. The winfo command returns all sorts of information about windows, including interior widgets, not just top-level windows.


       
    Top
     



    Practical Programming in Tcl and Tk
    Practical Programming in Tcl and Tk (4th Edition)
    ISBN: 0130385603
    EAN: 2147483647
    Year: 1999
    Pages: 478

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net