This appendix summarizes all the Tk commands available in Tk version 8.4.14. It lists each command and a short description of the command’s use or purpose.
Command | Description |
---|---|
| Ring the system bell. |
| Arrange for window manager events to invoke Tcl scripts. |
| Determine which bindings apply to a window, and order of evaluation. |
| Create and manipulate two-color images. |
| Create and manipulate button widgets. |
| Create and manipulate canvas widgets. |
| Create and manipulate check box-style widgets. |
| Interrogate and modify the system clipboard. |
| Control the console on systems without a real console. |
| Delete one or more windows. |
| Create and manipulate text entry widgets. |
| Define virtual events and generate events. |
| Manage the input focus. |
Create and inspect fonts. | |
| Create and manipulate frame widgets. |
| Restrict the mouse pointer and keyboard events to a window. |
| Geometry manager that arranges widgets in a grid. |
| Create and manipulate images. |
| Create and manipulate labelframe widgets. |
| Create and manipulate label widgets. |
| Create and manipulate listbox widgets. |
| Load Tk into a safe interpreter. |
| Move a window down in the stacking order. |
| Create and manipulate menubutton widgets. |
| Create and manipulate menu widgets. |
| Create and manipulate message widgets. |
| Add/retrieve window options to/from the option database. |
| Standard options supported by widgets. |
| Geometry manager that packs around edges of cavity. |
| Create and manipulate panedwindow widgets. |
| Create and manipulate full-color images. |
| Geometry manager for fixed or rubber-sheet placement. |
| Create and manipulate radiobutton widgets. |
| Move a window up in the stacking order. |
| Create and manipulate scale widgets. |
| Create and manipulate scrollbar widgets. |
| Interrogate and modify the X selection. |
| Execute a command in a different application. |
| Create and manipulate spinbox widgets. |
| Create and manipulate text widgets. |
| Interrogate and modify Tk’s internal state. |
| Wait for variable’s value to change or for window to be destroyed. |
| Create and manipulate toplevel widgets. |
| Interrogate window-related information. |
| Communicate with the system window manager. |