![]() Winfo children window Returns a list containing the path names of all the children of window. Winfo cells window Returns a decimal string giving the number of cells in the color map for window. 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 up on the display of window otherwise it is looked up on the display of the application's main window. Winfo atomname ? -displayof window? id Returns the textual name for the atom whose integer identifier is id. If the -displayof option is given then the atom is looked up on the display of window otherwise it is looked up on the display of the application's main window. If no atom exists with the name name then a new one is created. Winfo atom ? -displayof window? name Returns a decimal string giving the integer identifier for the atom whose name is name. It can take any of a number of different forms, depending on the option argument. ![]() ?ĭescription The winfo command is used to retrieve information about windows managed by Tk. Winfo NAME winfo - Return window-related information SYNOPSIS DESCRIPTION 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 Name winfo - Return window-related information Synopsis winfo option ? arg arg.
0 Comments
Leave a Reply. |