Appendix B. Tk Command Summary

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

bell

Ring the system bell.

bind

Arrange for window manager events to invoke Tcl scripts.

bindtags

Determine which bindings apply to a window, and order of evaluation.

bitmap

Create and manipulate two-color images.

button

Create and manipulate button widgets.

canvas

Create and manipulate canvas widgets.

checkbutton

Create and manipulate check box-style widgets.

clipboard

Interrogate and modify the system clipboard.

console

Control the console on systems without a real console.

destroy

Delete one or more windows.

entry

Create and manipulate text entry widgets.

event

Define virtual events and generate events.

focus

Manage the input focus.

font

Create and inspect fonts.

frame

Create and manipulate frame widgets.

grab

Restrict the mouse pointer and keyboard events to a window.

grid

Geometry manager that arranges widgets in a grid.

image

Create and manipulate images.

labelframe

Create and manipulate labelframe widgets.

label

Create and manipulate label widgets.

listbox

Create and manipulate listbox widgets.

loadTk

Load Tk into a safe interpreter.

lower

Move a window down in the stacking order.

menubutton

Create and manipulate menubutton widgets.

menu

Create and manipulate menu widgets.

message

Create and manipulate message widgets.

option

Add/retrieve window options to/from the option database.

options

Standard options supported by widgets.

pack

Geometry manager that packs around edges of cavity.

panedwindow

Create and manipulate panedwindow widgets.

photo

Create and manipulate full-color images.

place

Geometry manager for fixed or rubber-sheet placement.

radiobutton

Create and manipulate radiobutton widgets.

raise

Move a window up in the stacking order.

scale

Create and manipulate scale widgets.

scrollbar

Create and manipulate scrollbar widgets.

selection

Interrogate and modify the X selection.

send

Execute a command in a different application.

spinbox

Create and manipulate spinbox widgets.

text

Create and manipulate text widgets.

tk

Interrogate and modify Tk’s internal state.

tkwait

Wait for variable’s value to change or for window to be destroyed.

toplevel

Create and manipulate toplevel widgets.

winfo

Interrogate window-related information.

wm

Communicate with the system window manager.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.238.159