This section briefly lists all Tk commands, grouped logically by function.
button | Create a button widget. |
canvas | Create a canvas widget. |
checkbutton | Create a checkbutton widget. |
entry | Create an entry widget. |
frame | Create a frame widget. |
label | Create a label widget. |
listbox | Create a listbox widget. |
menu | Create a menu widget. |
menubutton | Create a menubutton widget. |
message | Create a message widget. |
radiobutton | Create a radiobutton widget. |
scale | Create a scale widget. |
scrollbar | Create a scrollbar widget. |
text | Create a text widget. |
toplevel | Create a top-level widget. |
bind | Bind window events to Tcl scripts. |
bindtags | Control the precedence order of event bindings. |
event | Generate window events and define virtual events. |
tk_chooseColor | Pop up a dialog for choosing a color. |
tk_dialog | Pop up a message dialog with arbitrary buttons. |
tk_getOpenFile | Pop up a dialog for choosing an existing file. |
tk_getSaveFile | Pop up a dialog for choosing any filename. |
tk_messageBox | Pop up a message dialog with predefined buttons. |
bell | Ring the window system’s bell. |
clipboard | Manipulate the window system’s clipboard. |
destroy | Destroy a widget. |
font | Create and delete named fonts. |
image | Create and manipulate images. |
lower | Lower a window in the stacking order. |
option | Manipulate the Tk option database. |
raise | Raise a window in the stacking order. |
selection | Manipulate selection ownership and handling. |
send | Evaluate a command in another interpreter. |
tk | Access Tk’s internal state. |
tkwait | Pause program until a defined change occurs. |
tk_bisque | Set default color palette to old bisque scheme. |
tk_optionMenu | Create an Option menu. |
tk_pop-up | Post a popup menu. |
tk_setPalette | |
winfo | Get information on various window properties. |
wm | Communicate with the window manager. |