Practical Programming in Tcl and Tk (4th Edition)

   

Practical Programming in Tcl & Tk, Third Edition

By Brent B. Welch

Table of Contents
Chapter 23.  The Pack Geometry Manager

The pack forget command removes a widget from the packing order. The widget gets unmapped, so it is not visible. If you unpack a parent frame, the packing structure inside it is maintained, but all the widgets inside the frame get unmapped. Unpacking a widget is useful if you want to suppress extra features of your interface. You can create all the parts of the interface, and just delay packing them in until the user requests to see them. Then you can pack and unpack them dynamically.


       
    Top
     

    Категории