All manuals Tk
Tk Built-In Commands
80 commands
B
- bell Ring a display's bell
- bind Arrange for X events to invoke Tcl scripts
- bindtags Determine which bindings apply to a window, and order of evaluation
- bitmap Images that display two colors cget configure
- busy Make Tk widgets busy, temporarily blocking user interactions busy busy busywindow busy cget busy configure busy current busy forget busy hold busy status
- button Create and manipulate 'button' action widgets cget configure flash invoke
C
- canvas Create and manipulate 'canvas' hypergraphics drawing surface widgets addtag bbox bind canvasx canvasy cget configure coords create dchars delete dtag find focus gettags icursor image imove index itemcget itemconfigure lower move moveto postscript raise rchars rotate scale scan scan mark scan dragto select select adjust select clear select from select item select to type xview xview moveto xview scroll yview yview moveto yview scroll
- checkbutton Create and manipulate 'checkbutton' boolean selection widgets cget configure deselect flash invoke select toggle
- clipboard Manipulate Tk clipboard append clear get
- colors Symbolic color names recognized by Tk
- console Control the console on systems without a real console eval hide show title consoleinterp eval consoleinterp record
- cursors Mouse cursors available in Tk
D
- destroy Destroy one or more windows
E
- entry Create and manipulate 'entry' one-line text entry widgets bbox cget configure delete get icursor index scan scan mark scan dragto selection selection adjust selection clear selection from selection present selection range selection to validate xview xview moveto xview scroll
- event Miscellaneous event facilities: define virtual events and generate events add delete generate info
F
- focus Manage the input focus -displayof -force -lastfor
- font Create and inspect fonts. actual configure create delete families measure metrics names
- fontchooser Control font selection dialog configure show hide
- frame Create and manipulate 'frame' simple container widgets cget configure
G
- geometry Variables used or set by Tk
- grab Confine pointer and keyboard events to a window sub-tree current release set status
- grid Geometry manager that arranges widgets in a grid anchor bbox columnconfigure configure content forget info location propagate rowconfigure remove size slaves
I
K
- keysyms Keysyms recognized by Tk
L
- label Create and manipulate 'label' non-interactive text or image widgets cget configure
- labelframe Create and manipulate 'labelframe' labelled container widgets cget configure
- listbox Create and manipulate 'listbox' item list widgets activate bbox cget configure curselection delete get index insert itemcget itemconfigure nearest scan scan mark scan dragto see selection selection anchor selection clear selection includes selection set size xview xview moveto xview scroll yview yview moveto yview scroll
- lower Change a window's position in the stacking order
M
- menu Create and manipulate 'menu' widgets and menubars activate add cget clone configure delete entrycget entryconfigure id index insert invoke post postcascade type unpost xposition yposition
- menubutton Create and manipulate 'menubutton' pop-up menu indicator widgets cget configure
- message Create and manipulate 'message' non-interactive text widgets cget configure
N
- nsimage A Tk image type for macOS based on the NSImage class. image create nsimage
O
- option Add/retrieve window options to/from the option database
- options Standard options supported by widgets
P
- pack Geometry manager that packs around edges of cavity configure content forget info propagate slaves
- panedwindow Create and manipulate 'panedwindow' split container widgets add cget configure forget identify panecget paneconfigure panes proxy proxy coord proxy forget proxy place sash sash coord sash dragto sash mark sash place
- photo Full-color images blank cget configure copy data get put read redither transparency transparency get transparency set write delay time disposal method user interaction update region
- place Geometry manager for fixed or rubber-sheet placement configure content forget info slaves
- print Print canvas and text widgets using native dialogs and APIs.
R
- radiobutton Create and manipulate 'radiobutton' pick-one widgets cget configure deselect flash invoke select
- raise Change a window's position in the stacking order
S
- safe::loadTk Load Tk into a safe interpreter.
- scale Create and manipulate 'scale' value-controlled slider widgets cget configure coords get identify set
- scrollbar Create and manipulate 'scrollbar' scrolling control and indicator widgets activate cget configure delta fraction get identify set moveto scroll
- selection Manipulate the X selection clear get handle own
- send Execute a command in a different application
- spinbox Create and manipulate 'spinbox' value spinner widgets bbox cget configure delete get icursor identify index invoke scan scan mark scan dragto selection selection adjust selection clear selection element selection from selection present selection range selection to set validate xview xview moveto xview scroll
- sysnotify Creates a notification window with a title and message.
- systray Creates an icon display in the platform-specific system tray.
T
- text Create and manipulate 'text' hypertext editing widgets .first .last bbox cget compare configure count debug delete dlineinfo dump edit edit canredo edit canundo edit modified edit redo edit reset edit separator edit undo get image image cget image configure image create image names index insert mark mark gravity mark names mark next mark previous mark set mark unset peer peer create peer names pendingsync replace scan scan mark scan dragto search see sync sync -command tag tag add tag bind tag cget tag configure tag delete tag lower tag names tag nextrange tag prevrange tag raise tag ranges tag remove window window cget window configure window create window names xview xview moveto xview scroll yview yview moveto yview scroll
- tk Manipulate Tk internal state appname busy caret inactive fontchooser print scaling sysnotify systray create useinputmethods windowingsystem
- tk::mac Access Mac-Specific Functionality on macOS from Tk
- tk::scalingPct Variables used or set by Tk
- tk::svgFmt Variables used or set by Tk
- tk_bisque Modify the Tk color palette
- 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_focusFollowsMouse Utility procedures for managing the input focus.
- tk_focusNext Utility procedures for managing the input focus.
- tk_focusPrev Utility procedures for managing the input focus.
- tk_getOpenFile Pop up a dialog box for the user to select a file to open or save.
- tk_getSaveFile Pop up a dialog box for the user to select a file to open or save.
- tk_library Variables used or set by Tk
- tk_menuSetFocus Create and manipulate 'menu' widgets and menubars
- tk_messageBox Pops up a message window and waits for user response.
- tk_optionMenu Create an option menubutton and its menu
- tk_patchLevel Variables used or set by Tk
- tk_popup Post a popup menu
- tk_setPalette Modify the Tk color palette
- tk_strictMotif Variables used or set by Tk
- tk_textCopy Create and manipulate 'text' hypertext editing widgets
- tk_textCut Create and manipulate 'text' hypertext editing widgets
- tk_textPaste Create and manipulate 'text' hypertext editing widgets
- tk_version Variables used or set by Tk
- tkerror Command invoked to process background errors
- tkwait Wait for variable to change or window to be destroyed
- toplevel Create and manipulate 'toplevel' main and popup window widgets cget configure
W
- winfo Return window-related information atom atomname cells children class colormapfull containing depth exists fpixels geometry height id interps ismapped manager name parent pathname pixels pointerx pointerxy pointery reqheight reqwidth rgb rootx rooty screen screencells screendepth screenheight screenmmheight screenmmwidth screenvisual screenwidth server toplevel viewable visual visualid visualsavailable vrootheight vrootwidth vrootx vrooty width x y
- wm Communicate with window manager aspect attributes client colormapwindows command deiconify focusmodel forget frame geometry grid group iconbadge iconbitmap iconify iconmask iconname iconphoto iconposition iconwindow manage maxsize minsize overrideredirect positionfrom protocol resizable sizefrom stackorder state title transient withdraw
Copyright#
- Copyright © 1990-1994 The Regents of the University of California
- Copyright © 1993-1998 Lucent Technologies, Inc
- Copyright © 1994-1997 Sun Microsystems, Inc
- Copyright © 1994 The Australian National University
- Copyright © 1997-2000 Scriptics Corporation
- Copyright © 1998-2000 Ajuba Solutions
- Copyright © 2000 Jeffrey Hobbs
- Copyright © 2001-2011 Donal K. Fellows
- Copyright © 2003 ActiveState Corporation
- Copyright © 2006-2008 Daniel A. Steffen <das@users.sourceforge.net>
- Copyright © 2008 Jos Decoster
- Copyright © 2011-2021 Kevin Walzer
- Copyright © 2022 Marc Culler