destroy(n) - phpMan

Command: man perldoc info search(apropos)  


destroy(n)                             Tk Built-In Commands                            destroy(n)



_________________________________________________________________________________________________

NAME
       destroy - Destroy one or more windows

SYNOPSIS
       destroy ?window window ...?
_________________________________________________________________

DESCRIPTION
       This  command deletes the windows given by the window arguments, plus all of their descen-
       dants.  If a window "."  is deleted then all windows will be destroyed and the application
       will  (normally)  exit.   The  windows  are  destroyed in order, and if an error occurs in
       destroying a window the command aborts without destroying the remaining windows.  No error
       is returned if window does not exist.

EXAMPLE
       Destroy all checkbuttons that are direct children of the given widget:
              proc killCheckbuttonChildren {parent} {
                 foreach w [winfo children $parent] {
                    if {[winfo class $w] eq "Checkbutton"} {
                       destroy $w
                    }
                 }
              }


KEYWORDS
       application, destroy, window



Tk                                                                                     destroy(n)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-25 06:53 @3.143.244.83 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!