• Home
  • Raw
  • Download

Lines Matching full:tk

1 """Wrapper functions for Tcl/Tk.
4 control of widgets. Toplevel widgets are Tk and Toplevel. Other
11 under Tk.
23 tk = Tkinter.Tk()
24 frame = Tkinter.Frame(tk, relief=RIDGE, borderwidth=2)
28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy)
30 tk.mainloop()
37 # Attempt to configure Tcl/Tk without requiring PATH
39 import _tkinter # If this fails your Python may not be configured for Tk
55 # These are not always defined, e.g. not on Win32 with Tk 8.0 :-(
129 def _splitdict(tk, v, cut_minus=True, conv=None): argument
137 t = tk.splitlist(v)
203 Tk is used for windows without an explicit parent window.
245 self._tk = master.tk
422 _default_root.tk.mainloop(n)
430 return _default_root.tk.getboolean(s)
448 self.tk.deletecommand(name)
455 self.tk.deletecommand(name)
467 return self.tk.getboolean(self.tk.call(
470 """Change the color scheme to light brown as used in Tk 3.6 and before."""
471 self.tk.call('tk_bisque')
475 A single color as argument will cause that all colors of Tk
483 self.tk.call(('tk_setPalette',)
486 """Do not use. Needed in Tk 3.6 and earlier."""
487 # obsolete since Tk 4.0
496 self.tk.call('tkwait', 'variable', name)
504 self.tk.call('tkwait', 'window', window._w)
512 self.tk.call('tkwait', 'visibility', window._w)
515 self.tk.setvar(name, value)
518 return self.tk.getvar(name)
523 return self.tk.getboolean(s)
530 self.tk.call('focus', self._w)
536 self.tk.call('focus', '-force', self._w)
544 name = self.tk.call('focus')
552 name = self.tk.call('focus', '-displayof', self._w)
558 name = self.tk.call('focus', '-lastfor', self._w)
564 self.tk.call('tk_focusFollowsMouse')
574 name = self.tk.call('tk_focusNext', self._w)
579 name = self.tk.call('tk_focusPrev', self._w)
591 self.tk.call('after', ms)
604 return self.tk.call('after', ms, name)
622 data = self.tk.call('after', 'info', id)
623 script = self.tk.splitlist(data)[0]
627 self.tk.call('after', 'cancel', id)
630 self.tk.call(('bell',) + self._displayof(displayof))
651 return self.tk.call(('clipboard', 'get') + self._options(kw))
654 return self.tk.call(('clipboard', 'get') + self._options(kw))
657 """Clear the data in the Tk clipboard.
662 self.tk.call(('clipboard', 'clear') + self._options(kw))
664 """Append STRING to the Tk clipboard.
670 self.tk.call(('clipboard', 'append') + self._options(kw)
676 name = self.tk.call('grab', 'current', self._w)
681 self.tk.call('grab', 'release', self._w)
687 self.tk.call('grab', 'set', self._w)
694 self.tk.call('grab', 'set', '-global', self._w)
698 status = self.tk.call('grab', 'status', self._w)
707 self.tk.call('option', 'add', pattern, value, priority)
712 self.tk.call('option', 'clear')
718 return self.tk.call('option', 'get', self._w, name, className)
724 self.tk.call('option', 'readfile', fileName, priority)
728 self.tk.call(('selection', 'clear') + self._options(kw))
742 return self.tk.call(('selection', 'get') + self._options(kw))
745 return self.tk.call(('selection', 'get') + self._options(kw))
759 self.tk.call(('selection', 'handle') + self._options(kw)
766 self.tk.call(('selection', 'own') +
776 name = self.tk.call(('selection', 'own') + self._options(kw))
781 return self.tk.call(('send', interp, cmd) + args)
784 self.tk.call('lower', self._w, belowThis)
787 self.tk.call('raise', self._w, aboveThis)
790 """Useless. Not implemented in Tk."""
791 return self.tk.call('tk', 'colormodel', self._w, value)
795 return getint(self.tk.call(args))
800 return self.tk.call(args)
804 self.tk.call('winfo', 'cells', self._w))
808 for child in self.tk.splitlist(
809 self.tk.call('winfo', 'children', self._w)):
820 return self.tk.call('winfo', 'class', self._w)
823 return self.tk.getboolean(
824 self.tk.call('winfo', 'colormapfull', self._w))
829 name = self.tk.call(args)
834 return getint(self.tk.call('winfo', 'depth', self._w))
838 self.tk.call('winfo', 'exists', self._w))
842 return getdouble(self.tk.call(
846 return self.tk.call('winfo', 'geometry', self._w)
850 self.tk.call('winfo', 'height', self._w))
853 return int(self.tk.call('winfo', 'id', self._w), 0)
857 return self.tk.splitlist(self.tk.call(args))
861 self.tk.call('winfo', 'ismapped', self._w))
864 return self.tk.call('winfo', 'manager', self._w)
867 return self.tk.call('winfo', 'name', self._w)
870 return self.tk.call('winfo', 'parent', self._w)
875 return self.tk.call(args)
879 self.tk.call('winfo', 'pixels', self._w, number))
883 self.tk.call('winfo', 'pointerx', self._w))
887 self.tk.call('winfo', 'pointerxy', self._w))
891 self.tk.call('winfo', 'pointery', self._w))
895 self.tk.call('winfo', 'reqheight', self._w))
899 self.tk.call('winfo', 'reqwidth', self._w))
904 self.tk.call('winfo', 'rgb', self._w, color))
909 self.tk.call('winfo', 'rootx', self._w))
914 self.tk.call('winfo', 'rooty', self._w))
917 return self.tk.call('winfo', 'screen', self._w)
922 self.tk.call('winfo', 'screencells', self._w))
927 self.tk.call('winfo', 'screendepth', self._w))
932 self.tk.call('winfo', 'screenheight', self._w))
937 self.tk.call('winfo', 'screenmmheight', self._w))
942 self.tk.call('winfo', 'screenmmwidth', self._w))
947 return self.tk.call('winfo', 'screenvisual', self._w)
952 self.tk.call('winfo', 'screenwidth', self._w))
956 return self.tk.call('winfo', 'server', self._w)
959 return self._nametowidget(self.tk.call(
964 self.tk.call('winfo', 'viewable', self._w))
969 return self.tk.call('winfo', 'visual', self._w)
972 return self.tk.call('winfo', 'visualid', self._w)
979 data = self.tk.split(
980 self.tk.call('winfo', 'visualsavailable', self._w,
983 data = [self.tk.split(data)]
996 self.tk.call('winfo', 'vrootheight', self._w))
1002 self.tk.call('winfo', 'vrootwidth', self._w))
1007 self.tk.call('winfo', 'vrootx', self._w))
1012 self.tk.call('winfo', 'vrooty', self._w))
1016 self.tk.call('winfo', 'width', self._w))
1021 self.tk.call('winfo', 'x', self._w))
1026 self.tk.call('winfo', 'y', self._w))
1029 self.tk.call('update')
1034 self.tk.call('update', 'idletasks')
1043 return self.tk.splitlist(
1044 self.tk.call('bindtags', self._w))
1046 self.tk.call('bindtags', self._w, tagList)
1050 self.tk.call(what + (sequence, func))
1058 self.tk.call(what + (sequence, cmd))
1061 return self.tk.call(what + (sequence,))
1063 return self.tk.splitlist(self.tk.call(what))
1107 self.tk.call('bind', self._w, sequence, '')
1118 self.tk.call('bind', 'all' , sequence, '')
1132 self.tk.call('bind', className , sequence, '')
1134 """Call the mainloop of Tk."""
1135 self.tk.mainloop(n)
1138 self.tk.quit()
1142 return tuple(map(getint, self.tk.splitlist(string)))
1146 return tuple(map(getdouble, self.tk.splitlist(string)))
1150 return self.tk.getboolean(string)
1165 self.tk.call('tk', 'windowingsystem')
1225 self.tk.createcommand(name, f)
1244 getboolean = self.tk.getboolean
1248 """Tk changed behavior in 8.4.2, returning "??" rather more often."""
1308 for x in self.tk.splitlist(self.tk.call(*args)):
1309 x = self.tk.splitlist(x)
1314 x = self.tk.splitlist(self.tk.call(*args))
1327 self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
1340 return self.tk.call(self._w, 'cget', '-' + key)
1348 splitlist = self.tk.splitlist
1350 splitlist(self.tk.call(self._w, 'configure'))]
1364 return self._getboolean(self.tk.call(
1367 self.tk.call('pack', 'propagate', self._w, flag)
1373 self.tk.splitlist(
1374 self.tk.call('pack', 'slaves', self._w)))
1381 self.tk.splitlist(
1382 self.tk.call(
1402 return self._getints(self.tk.call(*args)) or None
1432 self.tk,
1433 self.tk.call('grid', command, self._w, index),
1435 res = self.tk.call(
1454 self.tk.call(
1464 return self._getboolean(self.tk.call(
1467 self.tk.call('grid', 'propagate', self._w, flag)
1479 self.tk.call('grid', 'size', self._w)) or None
1490 self.tk.splitlist(self.tk.call(
1493 # Support for the "event" command, new in Tk 4.2.
1501 self.tk.call(args)
1506 self.tk.call(args)
1515 self.tk.call(args)
1520 return self.tk.splitlist(
1521 self.tk.call('event', 'info', virtual))
1527 return self.tk.splitlist(self.tk.call('image', 'names'))
1531 return self.tk.splitlist(self.tk.call('image', 'types'))
1560 res = self.tk.call(self._w, 'xview', *args)
1567 self.tk.call(self._w, 'xview', 'moveto', fraction)
1572 self.tk.call(self._w, 'xview', 'scroll', number, what)
1581 res = self.tk.call(self._w, 'yview', *args)
1588 self.tk.call(self._w, 'yview', 'moveto', fraction)
1593 self.tk.call(self._w, 'yview', 'scroll', number, what)
1606 self.tk.call('wm', 'aspect', self._w,
1630 return self.tk.call(args)
1636 return self.tk.call('wm', 'client', self._w, name)
1643 wlist = (wlist,) # Tk needs a list of windows here
1646 self.tk.call(args)
1648 return map(self._nametowidget, self.tk.splitlist(self.tk.call(args)))
1654 return self.tk.call('wm', 'command', self._w, value)
1659 return self.tk.call('wm', 'deiconify', self._w)
1665 return self.tk.call('wm', 'focusmodel', self._w, model)
1669 return self.tk.call('wm', 'frame', self._w)
1674 return self.tk.call('wm', 'geometry', self._w, newGeometry)
1683 return self._getints(self.tk.call(
1690 return self.tk.call('wm', 'group', self._w, pathName)
1699 (example: root.iconbitmap(default='myicon.ico') ). See Tk
1702 return self.tk.call('wm', 'iconbitmap', self._w, '-default', default)
1704 return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
1708 return self.tk.call('wm', 'iconify', self._w)
1713 return self.tk.call('wm', 'iconmask', self._w, bitmap)
1718 return self.tk.call('wm', 'iconname', self._w, newName)
1723 return self._getints(self.tk.call(
1729 return self.tk.call('wm', 'iconwindow', self._w, pathName)
1735 return self._getints(self.tk.call(
1742 return self._getints(self.tk.call(
1749 return self._getboolean(self.tk.call(
1756 return self.tk.call('wm', 'positionfrom', self._w, who)
1766 return self.tk.call(
1772 return self.tk.call('wm', 'resizable', self._w, width, height)
1778 return self.tk.call('wm', 'sizefrom', self._w, who)
1783 return self.tk.call('wm', 'state', self._w, newstate)
1787 return self.tk.call('wm', 'title', self._w, string)
1792 return self.tk.call('wm', 'transient', self._w, master)
1797 return self.tk.call('wm', 'withdraw', self._w)
1801 class Tk(Misc, Wm): class
1802 """Toplevel widget of Tk which represents mostly the main window
1805 def __init__(self, screenName=None, baseName=None, className='Tk',
1816 # ensure that self.tk is always _something_.
1817 self.tk = None
1825 …self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, …
1833 self.tk.loadtk()
1839 tk_version = self.tk.getvar('tk_version')
1842 "tk.h version (%s) doesn't match libtk.a version (%s)" \
1845 tcl_version = str(self.tk.getvar('tcl_version'))
1852 "Tk 4.0 or higher is required; found Tk %s" \
1859 self.tk.createcommand('tkerror', _tkerror)
1860 self.tk.createcommand('exit', _exit)
1870 self.tk.call('destroy', self._w)
1889 self.tk.call('source', class_tcl)
1893 self.tk.call('source', base_tcl)
1909 return getattr(self.tk, attr)
1926 def Tcl(screenName=None, baseName=None, className='Tk', useTk=0):
1927 return Tk(screenName, baseName, className, useTk)
1949 self.tk.call(
1955 self.tk.call('pack', 'forget', self._w)
1960 d = _splitdict(self.tk, self.tk.call('pack', 'info', self._w))
1994 self.tk.call(
2000 self.tk.call('place', 'forget', self._w)
2005 d = _splitdict(self.tk, self.tk.call('place', 'info', self._w))
2032 self.tk.call(
2040 self.tk.call('grid', 'forget', self._w)
2044 self.tk.call('grid', 'remove', self._w)
2048 d = _splitdict(self.tk, self.tk.call('grid', 'info', self._w))
2067 _default_root = Tk()
2070 self.tk = master.tk
2100 self.tk.call(
2107 self.tk.call('destroy', self._w)
2112 # XXX Obsolete -- better use self.tk.call directly!
2113 return self.tk.call((self._w, name) + args)
2174 self.tk.call('tkButtonEnter', self._w)
2177 self.tk.call('tkButtonLeave', self._w)
2180 self.tk.call('tkButtonDown', self._w)
2183 self.tk.call('tkButtonUp', self._w)
2186 self.tk.call('tkButtonInvoke', self._w)
2198 self.tk.call(self._w, 'flash')
2208 return self.tk.call(self._w, 'invoke')
2244 self.tk.call((self._w, 'addtag') + args)
2275 self.tk.call((self._w, 'bbox') + args)) or None
2279 self.tk.call(self._w, 'bind', tagOrId, sequence, '')
2293 return getdouble(self.tk.call(
2298 return getdouble(self.tk.call(
2304 self.tk.splitlist(
2305 self.tk.call((self._w, 'coords') + args)))
2314 return getint(self.tk.call(
2347 self.tk.call((self._w, 'dchars') + args)
2350 self.tk.call((self._w, 'delete') + args)
2354 self.tk.call((self._w, 'dtag') + args)
2358 self.tk.call((self._w, 'find') + args)) or ()
2387 return self.tk.call((self._w, 'focus') + args)
2390 return self.tk.splitlist(
2391 self.tk.call((self._w, 'gettags') + args))
2395 self.tk.call((self._w, 'icursor') + args)
2398 return getint(self.tk.call((self._w, 'index') + args))
2402 self.tk.call((self._w, 'insert') + args)
2405 return self.tk.call(
2423 self.tk.call((self._w, 'lower') + args)
2427 self.tk.call((self._w, 'move') + args)
2433 return self.tk.call((self._w, 'postscript') +
2438 self.tk.call((self._w, 'raise') + args)
2442 self.tk.call((self._w, 'scale') + args)
2445 self.tk.call(self._w, 'scan', 'mark', x, y)
2450 self.tk.call(self._w, 'scan', 'dragto', x, y, gain)
2453 self.tk.call(self._w, 'select', 'adjust', tagOrId, index)
2456 self.tk.call(self._w, 'select', 'clear')
2459 self.tk.call(self._w, 'select', 'from', tagOrId, index)
2462 return self.tk.call(self._w, 'select', 'item') or None
2465 self.tk.call(self._w, 'select', 'to', tagOrId, index)
2468 return self.tk.call(self._w, 'type', tagOrId) or None
2485 self.tk.call(self._w, 'deselect')
2488 self.tk.call(self._w, 'flash')
2491 return self.tk.call(self._w, 'invoke')
2494 self.tk.call(self._w, 'select')
2497 self.tk.call(self._w, 'toggle')
2515 self.tk.call(self._w, 'delete', first, last)
2518 return self.tk.call(self._w, 'get')
2521 self.tk.call(self._w, 'icursor', index)
2524 return getint(self.tk.call(
2528 self.tk.call(self._w, 'insert', index, string)
2531 self.tk.call(self._w, 'scan', 'mark', x)
2536 self.tk.call(self._w, 'scan', 'dragto', x)
2539 self.tk.call(self._w, 'selection', 'adjust', index)
2543 self.tk.call(self._w, 'selection', 'clear')
2547 self.tk.call(self._w, 'selection', 'from', index)
2552 return self.tk.getboolean(
2553 self.tk.call(self._w, 'selection', 'present'))
2557 self.tk.call(self._w, 'selection', 'range', start, end)
2561 self.tk.call(self._w, 'selection', 'to', index)
2617 self.tk.call(self._w, 'activate', index)
2621 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
2624 return self._getints(self.tk.call(self._w, 'curselection')) or ()
2627 self.tk.call(self._w, 'delete', first, last)
2631 return self.tk.splitlist(self.tk.call(
2634 return self.tk.call(self._w, 'get', first)
2637 i = self.tk.call(self._w, 'index', index)
2642 self.tk.call((self._w, 'insert', index) + elements)
2645 return getint(self.tk.call(
2649 self.tk.call(self._w, 'scan', 'mark', x, y)
2654 self.tk.call(self._w, 'scan', 'dragto', x, y)
2657 self.tk.call(self._w, 'see', index)
2660 self.tk.call(self._w, 'selection', 'anchor', index)
2664 self.tk.call(self._w,
2669 return self.tk.getboolean(self.tk.call(
2675 self.tk.call(self._w, 'selection', 'set', first, last)
2679 return getint(self.tk.call(self._w, 'size'))
2682 return self.tk.call(
2706 # obsolete since Tk 4.0
2712 self.tk.call('tk_mbPost', self._w)
2714 self.tk.call('tk_mbUnpost')
2716 self.tk.call('tk_traverseToMenu', self._w, char)
2718 self.tk.call('tk_traverseWithinMenu', self._w, char)
2720 return self.tk.call('tk_getMenuButtons', self._w)
2722 self.tk.call('tk_nextMenu', count)
2724 self.tk.call('tk_nextMenuEntry', count)
2726 self.tk.call('tk_invokeMenu', self._w)
2728 self.tk.call('tk_firstMenu', self._w)
2730 self.tk.call('tk_mbButtonDown', self._w)
2733 self.tk.call('tk_popup', self._w, x, y, entry)
2736 self.tk.call(self._w, 'activate', index)
2739 self.tk.call((self._w, 'add', itemType) +
2758 self.tk.call((self._w, 'insert', index, itemType) +
2789 self.tk.call(self._w, 'delete', index1, index2)
2792 return self.tk.call(self._w, 'entrycget', index, '-' + option)
2799 i = self.tk.call(self._w, 'index', index)
2805 return self.tk.call(self._w, 'invoke', index)
2808 self.tk.call(self._w, 'post', x, y)
2811 return self.tk.call(self._w, 'type', index)
2814 self.tk.call(self._w, 'unpost')
2817 return getint(self.tk.call(
2846 self.tk.call(self._w, 'deselect')
2849 self.tk.call(self._w, 'flash')
2852 return self.tk.call(self._w, 'invoke')
2855 self.tk.call(self._w, 'select')
2871 value = self.tk.call(self._w, 'get')
2878 self.tk.call(self._w, 'set', value)
2884 return self._getints(self.tk.call(self._w, 'coords', value))
2888 return self.tk.call(self._w, 'identify', x, y)
2905 self.tk.call(self._w, 'activate', index)
2910 self.tk.call(self._w, 'delta', deltax, deltay))
2914 return getdouble(self.tk.call(self._w, 'fraction', x, y))
2918 return self.tk.call(self._w, 'identify', x, y)
2922 return self._getdoubles(self.tk.call(self._w, 'get'))
2926 self.tk.call((self._w, 'set') + args)
2960 self.tk.call((self._w, 'bbox') + args)) or None
2962 self.tk.call('tk_textSelectTo', self._w, index)
2964 self.tk.call('tk_textBackspace', self._w)
2966 self.tk.call('tk_textIndexCloser', self._w, a, b, c)
2968 self.tk.call('tk_textResetAnchor', self._w, index)
2972 return self.tk.getboolean(self.tk.call(
2978 return self.tk.getboolean(self.tk.call(self._w, 'debug'))
2979 self.tk.call(self._w, 'debug', boolean)
2982 self.tk.call(self._w, 'delete', index1, index2)
2987 return self._getints(self.tk.call(self._w, 'dlineinfo', index))
3021 self.tk.call(self._w, "dump", *args)
3041 return self.tk.call(self._w, 'edit', *args)
3089 return self.tk.call(self._w, 'get', index1, index2)
3097 return self.tk.call(self._w, "image", "cget", index, option)
3103 return self.tk.call(
3108 return self.tk.call(self._w, "image", "names")
3111 return str(self.tk.call(self._w, 'index', index))
3115 self.tk.call((self._w, 'insert', index, chars) + args)
3119 return self.tk.call(
3123 return self.tk.splitlist(self.tk.call(
3127 self.tk.call(self._w, 'mark', 'set', markName, index)
3130 self.tk.call((self._w, 'mark', 'unset') + markNames)
3133 return self.tk.call(self._w, 'mark', 'next', index) or None
3136 return self.tk.call(self._w, 'mark', 'previous', index) or None
3139 self.tk.call(self._w, 'scan', 'mark', x, y)
3144 self.tk.call(self._w, 'scan', 'dragto', x, y)
3163 return str(self.tk.call(tuple(args)))
3166 self.tk.call(self._w, 'see', index)
3170 self.tk.call(
3175 self.tk.call(self._w, 'tag', 'bind', tagName, sequence, '')
3192 return self.tk.call(self._w, 'tag', 'cget', tagName, option)
3199 self.tk.call((self._w, 'tag', 'delete') + tagNames)
3203 self.tk.call(self._w, 'tag', 'lower', tagName, belowThis)
3206 return self.tk.splitlist(
3207 self.tk.call(self._w, 'tag', 'names', index))
3212 return self.tk.splitlist(self.tk.call(
3218 return self.tk.splitlist(self.tk.call(
3223 self.tk.call(
3227 return self.tk.splitlist(self.tk.call(
3231 self.tk.call(
3239 return self.tk.call(self._w, 'window', 'cget', index, option)
3246 self.tk.call(
3251 return self.tk.splitlist(
3252 self.tk.call(self._w, 'window', 'names'))
3255 self.tk.call((self._w, 'yview', '-pickplace') + what)
3315 self.tk = getattr(master, 'tk', master)
3318 name = "pyimage%r" % (Image._last_id,) # tk itself would use image<x>
3329 v = self.tk._createbytearray(v)
3331 self.tk.call(('image', 'create', imgtype, name,) + options)
3337 self.tk.call('image', 'delete', self.name)
3342 self.tk.call(self.name, 'configure', '-'+key, value)
3344 return self.tk.call(self.name, 'configure', '-'+key)
3354 v = self.tk._createbytearray(v)
3356 self.tk.call((self.name, 'config') + res)
3361 self.tk.call('image', 'height', self.name))
3364 return self.tk.call('image', 'type', self.name)
3368 self.tk.call('image', 'width', self.name))
3380 self.tk.call(self.name, 'blank')
3383 return self.tk.call(self.name, 'cget', '-' + option)
3386 return self.tk.call(self.name, 'cget', '-' + key)
3390 destImage = PhotoImage(master=self.tk)
3391 self.tk.call(destImage, 'copy', self.name)
3398 destImage = PhotoImage(master=self.tk)
3400 self.tk.call(destImage, 'copy', self.name, '-zoom',x,y)
3407 destImage = PhotoImage(master=self.tk)
3409 self.tk.call(destImage, 'copy', self.name, '-subsample',x,y)
3413 return self.tk.call(self.name, 'get', x, y)
3422 self.tk.call(args)
3432 self.tk.call(args)
3443 return _default_root.tk.splitlist(_default_root.tk.call('image', 'names'))
3446 return _default_root.tk.splitlist(_default_root.tk.call('image', 'types'))
3492 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
3503 return self.tk.call(self._w, 'delete', first, last)
3507 return self.tk.call(self._w, 'get')
3515 return self.tk.call(self._w, 'icursor', index)
3522 return self.tk.call(self._w, 'identify', x, y)
3527 return self.tk.call(self._w, 'index', index)
3534 return self.tk.call(self._w, 'insert', index, s)
3542 return self.tk.call(self._w, 'invoke', element)
3547 self.tk.call((self._w, 'scan') + args)) or ()
3573 self.tk.call((self._w, 'selection') + args)) or ()
3655 self.tk.call((self._w, 'add', child) + self._options(kw))
3662 self.tk.call(self._w, 'forget', child)
3675 return self.tk.call(self._w, 'identify', x, y)
3680 self.tk.call((self._w, 'proxy') + args)) or ()
3700 self.tk.call((self._w, 'sash') + args)) or ()
3733 return self.tk.call(
3809 self.tk.call((self._w, 'paneconfigure', tagOrId) +
3815 return self.tk.splitlist(self.tk.call(self._w, 'panes'))
3842 root = Tk()
3843 text = "This is Tcl/Tk version %s" % TclVersion