|
ActiveTcl User Guide |
|
Tk >> Tk built-in commands
- Tk built-in commands
-
- General
-
- console - Control the console
on systems without a real console
- destroy - Destroy one or more
windows
- tk - Manipulate Tk internal
state
- tkerror - Command invoked to
process background errors
- tkvars - Variables used or set
by Tk
- tkwait - Wait for variable to
change or window to be destroyed
- winfo - Return window-related
information
- wish - Simple windowing
shell
- wm - Communicate with window
manager
- Resources and Options
-
- bitmap - Images that display two
colors
- colors - symbolic color names
recognized by Tk
- cursors - mouse cursors
available in Tk
- font - Create and inspect
fonts.
- image - Create and manipulate
images
- keysyms - keysyms recognized by
Tk
- option - Add/retrieve window
options to/from the option database
- options - Standard options
supported by widgets
- tk_setPalette - Modify the Tk
color palette
- photo - Full-color images
- Widgets
-
- button - Create and manipulate
button widgets
- canvas - Create and manipulate
canvas widgets
- checkbutton - Create and
manipulate checkbutton widgets
- entry - Create and manipulate
entry widgets
- frame - Create and manipulate
frame widgets
- label - Create and manipulate
label widgets
- labelframe - Create and
manipulate labelframe widgets
- listbox - Create and manipulate
listbox widgets
- menu - Create and manipulate menu
widgets
- menubutton - Create and
manipulate menubutton widgets
- message - Create and manipulate
message widgets
- tk_optionMenu - Create an
option menubutton and its menu
- panedwindow - Create and
manipulate panedwindow widgets
- radiobutton - Create and
manipulate radiobutton widgets
- scale - Create and manipulate
scale widgets
- scrollbar - Create and
manipulate scrollbar widgets
- spinbox - Create and manipulate
spinbox widgets
- text - Create and manipulate text
widgets
- Dialogs and toplevels
-
- tk_chooseColor - pops up a
dialog box for the user to select a color.
- tk_chooseDirectory -
pops up a dialog box for the user to select a directory.
- tk_dialog - Create modal dialog
and wait for response
- tk_getOpenFile - pop up a
dialog box for the user to select a file to open or save.
- tk_messageBox - pops up a
message window and waits for user response.
- tk_popup - Post a popup menu
- toplevel - Create and
manipulate toplevel widgets
- Geometry management
-
- grid - Geometry manager that
arranges widgets in a grid
- lower - Change a window's
position in the stacking order
- pack - Geometry manager that packs
around edges of cavity
- place - Geometry manager for
fixed or rubber-sheet placement
- raise - Change a window's
position in the stacking order
- Events and bindings
-
- bind - Arrange for X events to
invoke Tcl scripts
- bindtags - Determine which
bindings apply to a window, and order of evaluation
- event - Miscellaneous event
facilities: define virtual events and generate events
- focus - Manage the input
focus
- tk_focusNext - Utility
procedures for managing the input focus.
- grab - Confine pointer and
keyboard events to a window sub-tree
- Inter-client Communication
-
- bell - Ring a display's bell
- clipboard - Manipulate Tk
clipboard
- selection - Manipulate the X
selection
- send - Execute a command in a
different application
Copyright © 1989-1994 The Regents of the University of California.
Copyright © 1990-1994 The Regents of the University of California
Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans
Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans.
Copyright © 1993-1997 Bell Labs Innovations for Lucent Technologies
Copyright © 1994 The Australian National University
Copyright © 1994-2000 Sun Microsystems, Inc.
Copyright © 1997-2000 Ajuba Solutions.
Copyright © 1997-2000 Scriptics Corporation.
Copyright © 1998 Mark Harrison.
Copyright © 1998-1999 Scriptics Corporation
Copyright © 1998-1999 Scriptics Corportation
Copyright © 1995-1997 Roger E. Critchlow Jr.