
On the Macintosh the value has no meaning outside Tk. Returns a hexadecimal string giving a low-level platform-specific Or use winfo reqheight to get the window's requested height
#WINFO TINTO UPDATE#
Invoke update to force the geometry manager to arrange it, If you need the true height immediately after creating a widget, Height will eventually be changed by a geometry manager to fulfill When a window is first created its height will be 1 pixel the Returns a decimal string giving window's height in pixels. Returns the geometry for window, in the form The return value may be fractional for an integer value, use Number may be specified in any of the forms acceptable In window corresponding to the distance given by number. Returns a floating-point value giving the number of pixels Returns 1 if there exists a window named window, 0 if no such Returns a decimal string giving the depth of window (number Than parents and among siblings the highest one in the stacking order is In selecting the containing window, children are given higher priority If no window in this application contains the point then an empty To the screen containing window otherwise they refer to the If the -displayof option is given then the coordinates refer Use then the coordinate system of the virtual root window is used). System of the root window (if a virtual-root window manager is in RootX and rootY are specified in screen units (i.e.Īny form acceptable to Tk_GetPixels) in the coordinate Returns the path name for the window containing the point given Winfo containing ? -displayof window? rootX rootY
#WINFO TINTO FULL#
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.
#WINFO TINTO 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
#WINFO TINTO MANUAL#
Tk Built-In Commands - winfo manual page NAME winfo - Return window-related information SYNOPSIS winfo option ? arg arg.
