Returns the path name for the window containing the point given Winfo containing ? -displayof window? rootX rootY
The colormap for a window is ``known'' to be full if the lastĪttempt to allocate a new color on that window failed and thisĪpplication hasn't freed any colors in the colormap since the Returns 1 if the colormap for window is known to be full, 0 Use the wm stackorderĬommand to query the stacking order of Top-level windows. The lowest window first, except for Top-level windows whichĪre not returned in stacking order. Top-level windows are returned as children Returns a list containing the path names of all the children
Returns a decimal string giving the number of cells in the It generates an error if no such atom exists. This command is the inverse of the winfo atom command. If the -displayof option is given then the identifier is looked Returns the textual name for the atom whose integer identifier is The display of the application's main window. Up on the display of window otherwise it is looked up on If the -displayof option is given then the atom is looked
Returns a decimal string giving the integer identifier for theĪtom whose name is name. It can take any of a number of different forms,ĭepending on the option argument. The winfo command is used to retrieve information about windows Winfo - Return window-related information ?ĭESCRIPTION winfo atom ? -displayof window? name winfo atomname ? -displayof window? id winfo cells window winfo children window winfo class window winfo colormapfull window winfo containing ? -displayof window? rootX rootY winfo depth window winfo exists window winfo fpixels window number winfo geometry window winfo height window winfo id window winfo interps ? -displayof window? winfo ismapped window winfo manager window winfo name window winfo parent window winfo pathname ? -displayof window? id winfo pixels window number winfo pointerx window winfo pointerxy window winfo pointery window winfo reqheight window winfo reqwidth window winfo rgb window color winfo rootx window winfo rooty window winfo screen window winfo screencells window winfo screendepth window winfo screenheight window winfo screenmmheight window winfo screenmmwidth window winfo screenvisual window winfo screenwidth window winfo server window winfo toplevel window winfo viewable window winfo visual window winfo visualid window winfo visualsavailable window ? includeids? winfo vrootheight window winfo vrootwidth window winfo vrootx window winfo vrooty window winfo width window winfo x window winfo y window EXAMPLE KEYWORDS
Tk Built-In Commands - winfo manual page NAME winfo - Return window-related information SYNOPSIS winfo option ? arg arg.