# Lists

The lists are the listboxes just below the Command: entry. By default, there are three lists:

- Procs is a list of all the Tcl procedures in the target application.
- Globals is a list of the global variables of the target application.
- Windows is a list of the windows of the target application.
- Images is a list of the images of the target application.
- Menus is a list of the `menu` widgets of the target application.
- Canvases is a list of the `canvas` widgets of the target application.

By default, only the Procs, Globals, and Windows lists are shown. You can change this by adding `tkinspect_show_list` and `tkinspect_remove_list` commands to `.tkinspect_init` or by setting the option `*Tkinspect_main.default_lists`.

Each list also has a menu in the menu bar. (The menu can also be brought up by pressing `button-3` in the list.) The menu contains a set of standard operations, followed by list-specific operations (if any are available.) The standard list operations are:

- Show a X.. brings up a dialog that prompts for the name of a proc, global, or window and places the its value in the value window.
- Find X... brings up a dialog that searches the list.
- Edit Filter... brings up a dialog that allows editing of the list filter. The list will only displays those items that either match or don't match a set of patterns. (The default list of patterns varies for each list type.)
- Update This List updates the contents of this list. All the lists can be updated via the File/Update Lists menu item.
- Remove This List removes this list from the tkinspect window. A list can also be removed by deselecting its checkbox in the File menu.

Last modified: Wed Jun 21 15:32:14 1995