Home | History | Annotate | Download | only in lib-tk

Lines Matching refs: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 :-(
177 Tk is used for windows without an explicit parent window.
218 self._tk = master.tk
361 _default_root.tk.mainloop(n)
369 return _default_root.tk.getboolean(s)
387 self.tk.deletecommand(name)
394 self.tk.deletecommand(name)
406 return self.tk.getboolean(self.tk.call(
409 """Change the color scheme to light brown as used in Tk 3.6 and before."""
410 self.tk.call('tk_bisque')
414 A single color as argument will cause that all colors of Tk
422 self.tk.call(('tk_setPalette',)
425 """Do not use. Needed in Tk 3.6 and earlier."""
426 pass # obsolete since Tk 4.0
432 self.tk.call('tkwait', 'variable', name)
440 self.tk.call('tkwait', 'window', window._w)
448 self.tk.call('tkwait', 'visibility', window._w)
451 self.tk.setvar(name, value)
454 return self.tk.getvar(name)
459 return self.tk.getboolean(s)
466 self.tk.call('focus', self._w)
472 self.tk
480 name = self.tk.call('focus')
488 name = self.tk.call('focus', '-displayof', self._w)
494 name = self.tk.call('focus', '-lastfor', self._w)
500 self.tk.call('tk_focusFollowsMouse')
510 name = self.tk.call('tk_focusNext', self._w)
515 name = self.tk.call('tk_focusPrev', self._w)
527 self.tk.call('after', ms)
538 return self.tk.call('after', ms, name)
552 data = self.tk.call('after', 'info', id)
553 # In Tk 8.3, splitlist returns: (script, type)
554 # In Tk 8.4, splitlist may return (script, type) or (script,)
555 script = self.tk.splitlist(data)[0]
559 self.tk.call('after', 'cancel', id)
562 self.tk.call(('bell',) + self._displayof(displayof))
583 return self.tk.call(('clipboard', 'get') + self._options(kw))
586 return self.tk.call(('clipboard', 'get') + self._options(kw))
589 """Clear the data in the Tk clipboard.
594 self.tk.call(('clipboard', 'clear') + self._options(kw))
596 """Append STRING to the Tk clipboard.
602 self.tk.call(('clipboard', 'append') + self._options(kw)
608 name = self.tk.call('grab', 'current', self._w)
613 self.tk.call('grab', 'release', self._w)
619 self.tk.call('grab', 'set', self._w)
626 self.tk.call('grab', 'set', '-global', self._w)
630 status = self.tk.call('grab', 'status', self._w)
639 self.tk.call('option', 'add', pattern, value, priority)
644 self.tk.call('option', 'clear')
650 return self.tk.call('option', 'get', self._w, name, className)
656 self.tk.call('option', 'readfile', fileName, priority)
660 self.tk.call(('selection', 'clear') + self._options(kw))
674 return self.tk.call(('selection', 'get') + self._options(kw))
677 return self.tk.call(('selection', 'get') + self._options(kw))
691 self.tk.call(('selection', 'handle') + self._options(kw)
698 self.tk.call(('selection', 'own') +
708 name = self.tk.call(('selection', 'own') + self._options(kw))
713 return self.tk.call(('send', interp, cmd) + args)
716 self.tk.call('lower', self._w, belowThis)
719 self.tk.call('raise', self._w, aboveThis)
722 """Useless. Not implemented in Tk."""
723 return self.tk.call('tk', 'colormodel', self._w, value)
727 return getint(self.tk.call(args))
732 return self.tk.call(args)
736 self.tk.call('winfo', 'cells', self._w))
740 for child in self.tk.splitlist(
741 self.tk.call('winfo', 'children', self._w)):
752 return self.tk.call('winfo', 'class', self._w)
755 return self.tk.getboolean(
756 self.tk.call('winfo', 'colormapfull', self._w))
761 name = self.tk.call(args)
766 return getint(self.tk.call('winfo', 'depth', self._w))
770 self.tk.call('winfo', 'exists', self._w))
774 return getdouble(self.tk.call(
778 return self.tk.call('winfo', 'geometry', self._w)
782 self.tk.call('winfo', 'height', self._w))
785 return self.tk.getint(
786 self.tk.call('winfo', 'id', self._w))
790 return self.tk.splitlist(self.tk.call(args))
794 self.tk.call('winfo', 'ismapped', self._w))
797 return self.tk.call('winfo', 'manager', self._w)
800 return self.tk.call('winfo', 'name', self._w)
803 return self.tk.call('winfo', 'parent', self._w)
808 return self.tk.call(args)
812 self.tk.call('winfo', 'pixels', self._w, number))
816 self.tk.call('winfo', 'pointerx', self._w))
820 self.tk.call('winfo', 'pointerxy', self._w))
824 self.tk.call('winfo', 'pointery', self._w))
828 self.tk.call('winfo', 'reqheight', self._w))
832 self.tk.call('winfo', 'reqwidth', self._w))
837 self.tk.call('winfo', 'rgb', self._w, color))
842 self.tk.call('winfo', 'rootx', self._w))
847 self.tk.call('winfo', 'rooty', self._w))
850 tk.call('winfo', 'screen', self._w)
855 self.tk.call('winfo', 'screencells', self._w))
860 self.tk.call('winfo', 'screendepth', self._w))
865 self.tk.call('winfo', 'screenheight', self._w))
870 self.tk.call('winfo', 'screenmmheight', self._w))
875 self.tk.call('winfo', 'screenmmwidth', self._w))
880 return self.tk.call('winfo', 'screenvisual', self._w)
885 self.tk.call('winfo', 'screenwidth', self._w))
889 return self.tk.call('winfo', 'server', self._w)
892 return self._nametowidget(self.tk.call(
897 self.tk.call('winfo', 'viewable', self._w))
902 return self.tk.call('winfo', 'visual', self._w)
905 return self.tk.call('winfo', 'visualid', self._w)
912 data = self.tk.split(
913 self.tk.call('winfo', 'visualsavailable', self._w,
916 data = [self.tk.split(data)]
929 self.tk.call('winfo', 'vrootheight', self._w))
935 self.tk.call('winfo', 'vrootwidth', self._w))
940 self.tk.call('winfo', 'vrootx', self._w))
945 self.tk.call('winfo', 'vrooty', self._w))
949 self.tk.call('winfo', 'width', self._w))
954 self.tk.call('winfo', 'x', self._w))
959 self.tk.call('winfo', 'y', self._w))
962 self.tk.call('update')
967 self.tk.call('update', 'idletasks')
976 return self.tk.splitlist(
977 self.tk.call('bindtags', self._w))
979 self.tk.call('bindtags', self._w, tagList)
983 self.tk.call(what + (sequence, func))
991 self.tk.call(what + (sequence, cmd))
994 return self.tk.call(what + (sequence,))
996 return self.tk.splitlist(self.tk.call(what))
1040 self.tk.call('bind', self._w, sequence, '')
1051 self.tk.call('bind', 'all' , sequence, '')
1065 self.tk.call('bind', className , sequence, '')
1067 """Call the mainloop of Tk."""
1068 self.tk.mainloop(n)
1071 self.tk.quit()
1075 return tuple(map(getint, self.tk.splitlist(string)))
1079 return tuple(map(getdouble, self.tk.splitlist(string)))
1083 return self.tk.getboolean(string)
1098 self.tk.call('tk', 'windowingsystem')
1158 self.tk.createcommand(name, f)
1177 getboolean = self.tk.getboolean
1181 """Tk changed behavior in 8.4.2, returning "??" rather more often."""
1245 for x in self.tk.split(
1246 self.tk.call(_flatten((self._w, cmd)))):
1250 x = self.tk.split(
1251 self.tk.call(_flatten((self._w, cmd, '-'+cnf))))
1253 self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
1266 return self.tk.call(self._w, 'cget', '-' + key)
1275 self.tk.split(self.tk.call(self._w, 'configure')))
1289 return self._getboolean(self.tk.call(
1292 self.tk.call('pack', 'propagate', self._w, flag)
1298 self.tk.splitlist(
1299 self.tk.call('pack', 'slaves', self._w)))
1306 self.tk.splitlist(
1307 self.tk.call(
1327 return self._getints(self.tk.call(*args)) or None
1341 res = self.tk.call('grid',
1343 words = self.tk.splitlist(res)
1356 res = self.tk.call(
1361 # In Tk 7.5, -width can be a float
1377 self.tk.call(
1387 return self._getboolean(self.tk.call(
1390 self.tk.call('grid', 'propagate', self._w, flag)
1402 self.tk.call('grid', 'size', self._w)) or None
1413 self.tk.splitlist(self.tk.call(
1416 # Support for the "event" command, new in Tk 4.2.
1424 self.tk.call(args)
1429 self.tk.call(args)
1438 self.tk.call(args)
1443 return self.tk.splitlist(
1444 self.tk.call('event', 'info', virtual))
1450 return self.tk.call('image', 'names')
1454 return self.tk.call('image', 'types')
1483 res = self.tk.call(self._w, 'xview', *args)
1490 self.tk.call(self._w, 'xview', 'moveto', fraction)
1495 self.tk.call(self._w, 'xview', 'scroll', number, what)
1504 res = self.tk.call(self._w, 'yview', *args)
1511 self.tk.call(self._w, 'yview', 'moveto', fraction)
1516 self.tk.call(self._w, 'yview', 'scroll', number, what)
1529 self.tk.call('wm', 'aspect', self._w,
1553 return self.tk.call(args)
1559 return self.tk.call('wm', 'client', self._w, name)
1566 wlist = (wlist,) # Tk needs a list of windows here
1568 return map(self._nametowidget, self.tk.call(args))
1574 return self.tk.call('wm', 'command', self._w, value)
1579 return self.tk.call('wm', 'deiconify', self._w)
1585 return self.tk.call('wm', 'focusmodel', self._w, model)
1589 return self.tk.call('wm', 'frame', self._w)
1594 return self.tk.call('wm', 'geometry', self._w, newGeometry)
1603 return self._getints(self.tk.call(
1610 return self.tk.call('wm', 'group', self._w, pathName)
1619 (example: root.iconbitmap(default='myicon.ico') ). See Tk
1622 return self.tk.call('wm', 'iconbitmap', self._w, '-default', default)
1624 return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
1628 return self.tk.call('wm', 'iconify', self._w)
1633 return self.tk.call('wm', 'iconmask', self._w, bitmap)
1638 return self.tk.call('wm', 'iconname', self._w, newName)
1643 return self._getints(self.tk.call(
1649 return self.tk.call('wm', 'iconwindow', self._w, pathName)
1655 return self._getints(self.tk.call(
1662 return self._getints(self.tk.call(
1669 return self._getboolean(self.tk.call(
1676 return self.tk.call('wm', 'positionfrom', self._w, who)
1686 return self.tk.call(
1692 return self.tk.call('wm', 'resizable', self._w, width, height)
1698 return self.tk.call('wm', 'sizefrom', self._w, who)
1703 return self.tk.call('wm', 'state', self._w, newstate)
1707 return self.tk.call('wm', 'title', self._w, string)
1712 return self.tk.call('wm', 'transient', self._w, master)
1717 return self.tk.call('wm', 'withdraw', self._w)
1721 class Tk(Misc, Wm):
1722 """Toplevel widget of Tk which represents mostly the main window
1725 def __init__(self, screenName=None, baseName=None, className='Tk',
1736 # ensure that self.tk is always _something_.
1737 self.tk = None
1745 self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
1753 self.tk.loadtk()
1759 tk_version = self.tk.getvar('tk_version')
1762 "tk.h version (%s) doesn't match libtk.a version (%s)" \
1765 tcl_version = str(self.tk.getvar('tcl_version'))
1772 "Tk 4.0 or higher is required; found Tk %s" \
1779 self.tk.createcommand('tkerror', _tkerror)
1780 self.tk.createcommand('exit', _exit)
1790 self.tk.call('destroy', self._w)
1809 self.tk.call('source', class_tcl)
1813 self.tk.call('source', base_tcl)
1826 return getattr(self.tk, attr)
1843 def Tcl(screenName=None, baseName=None, className='Tk', useTk=0):
1844 return Tk(screenName, baseName, className, useTk)
1866 self.tk.call(
1872 self.tk.call('pack', 'forget', self._w)
1877 words = self.tk.splitlist(
1878 self.tk.call('pack', 'info', self._w))
1917 self.tk.call(
1923 self.tk.call('place', 'forget', self._w)
1928 words = self.tk.splitlist(
1929 self.tk.call('place', 'info', self._w))
1961 self.tk.call(
1969 self.tk.call('grid', 'forget', self._w)
1973 self.tk.call('grid', 'remove', self._w)
1977 words = self.tk.splitlist(
1978 self.tk.call('grid', 'info', self._w))
2002 _default_root = Tk()
2005 self.tk = master.tk
2035 self.tk.call(
2042 self.tk.call('destroy', self._w)
2047 # XXX Obsolete -- better use self.tk.call directly!
2048 return self.tk.call((self._w, name) + args)
2109 self.tk.call('tkButtonEnter', self._w)
2112 self.tk.call('tkButtonLeave', self._w)
2115 self.tk.call('tkButtonDown', self._w)
2118 self.tk.call('tkButtonUp', self._w)
2121 self.tk.call('tkButtonInvoke', self._w)
2133 self.tk.call(self._w, 'flash')
2143 return self.tk.call(self._w, 'invoke')
2179 self.tk.call((self._w, 'addtag') + args)
2210 self.tk.call((self._w, 'bbox') + args)) or None
2214 self.tk.call(self._w, 'bind', tagOrId, sequence, '')
2228 return getdouble(self.tk.call(
2233 return getdouble(self.tk.call(
2239 self.tk.splitlist(
2240 self.tk.call((self._w, 'coords') + args)))
2249 return getint(self.tk.call(
2282 self.tk.call((self._w, 'dchars') + args)
2285 self.tk.call((self._w, 'delete') + args)
2289 self.tk.call((self._w, 'dtag') + args)
2293 self.tk.call((self._w, 'find') + args)) or ()
2322 return self.tk.call((self._w, 'focus') + args)
2325 return self.tk.splitlist(
2326 self.tk.call((self._w, 'gettags') + args))
2330 self.tk.call((self._w, 'icursor') + args)
2333 return getint(self.tk.call((self._w, 'index') + args))
2337 self.tk.call((self._w, 'insert') + args)
2340 return self.tk.call(
2358 self.tk.call((self._w, 'lower') + args)
2362 self.tk.call((self._w, 'move') + args)
2368 return self.tk.call((self._w, 'postscript') +
2373 self.tk.call((self._w, 'raise') + args)
2377 self.tk.call((self._w, 'scale') + args)
2380 self.tk.call(self._w, 'scan', 'mark', x, y)
2385 self.tk.call(self._w, 'scan', 'dragto', x, y, gain)
2388 self.tk.call(self._w, 'select', 'adjust', tagOrId, index)
2391 self.tk.call(self._w, 'select', 'clear')
2394 self.tk.call(self._w, 'select', 'from', tagOrId, index)
2397 return self.tk.call(self._w, 'select', 'item') or None
2400 self.tk.call(self._w, 'select', 'to', tagOrId, index)
2403 return self.tk.call(self._w, 'type', tagOrId) or None
2420 self.tk.call(self._w, 'deselect')
2423 self.tk.call(self._w, 'flash')
2426 return self.tk.call(self._w, 'invoke')
2429 self.tk.call(self._w, 'select')
2432 self.tk.call(self._w, 'toggle')
2450 self.tk.call(self._w, 'delete', first, last)
2453 return self.tk.call(self._w, 'get')
2456 self.tk.call(self._w, 'icursor', index)
2459 return getint(self.tk.call(
2463 self.tk.call(self._w, 'insert', index, string)
2466 self.tk.call(self._w, 'scan', 'mark', x)
2471 self.tk.call(self._w, 'scan', 'dragto', x)
2474 self.tk.call(self._w, 'selection', 'adjust', index)
2478 self.tk.call(self._w, 'selection', 'clear')
2482 self.tk.call(self._w, 'selection', 'from', index)
2487 return self.tk.getboolean(
2488 self.tk.call(self._w, 'selection', 'present'))
2492 self.tk.call(self._w, 'selection', 'range', start, end)
2496 self.tk.call(self._w, 'selection', 'to', index)
2552 self.tk.call(self._w, 'activate', index)
2557 self.tk.call((self._w, 'bbox') + args)) or None
2561 return self.tk.splitlist(self.tk.call(
2565 self.tk.call(self._w, 'delete', first, last)
2569 return self.tk.splitlist(self.tk.call(
2572 return self.tk.call(self._w, 'get', first)
2575 i = self.tk.call(self._w, 'index', index)
2580 self.tk.call((self._w, 'insert', index) + elements)
2583 return getint(self.tk.call(
2587 self.tk.call(self._w, 'scan', 'mark', x, y)
2592 self.tk.call(self._w, 'scan', 'dragto', x, y)
2595 self.tk.call(self._w, 'see', index)
2598 self.tk.call(self._w, 'selection', 'anchor', index)
2602 self.tk.call(self._w,
2607 return self.tk.getboolean(self.tk.call(
2613 self.tk.call(self._w, 'selection', 'set', first, last)
2617 return getint(self.tk.call(self._w, 'size'))
2620 return self.tk.call(
2644 pass # obsolete since Tk 4.0
2646 self.tk.call('tk_mbPost', self._w)
2648 self.tk.call('tk_mbUnpost')
2650 self.tk.call('tk_traverseToMenu', self._w, char)
2652 self.tk.call('tk_traverseWithinMenu', self._w, char)
2654 return self.tk.call('tk_getMenuButtons', self._w)
2656 self.tk.call('tk_nextMenu', count)
2658 self.tk.call('tk_nextMenuEntry', count)
2660 self.tk.call('tk_invokeMenu', self._w)
2662 self.tk.call('tk_firstMenu', self._w)
2664 self.tk.call('tk_mbButtonDown', self._w)
2667 self.tk.call('tk_popup', self._w, x, y, entry)
2670 self.tk.call(self._w, 'activate', index)
2673 self.tk.call((self._w, 'add', itemType) +
2692 self.tk.call((self._w, 'insert', index, itemType) +
2723 self.tk.call(self._w, 'delete', index1, index2)
2726 return self.tk.call(self._w, 'entrycget', index, '-' + option)
2733 i = self.tk.call(self._w, 'index', index)
2739 return self.tk.call(self._w, 'invoke', index)
2742 self.tk.call(self._w, 'post', x, y)
2745 return self.tk.call(self._w, 'type', index)
2748 self.tk.call(self._w, 'unpost')
2751 return getint(self.tk.call(
2780 self.tk.call(self._w, 'deselect')
2783 self.tk.call(self._w, 'flash')
2786 return self.tk.call(self._w, 'invoke')
2789 self.tk.call(self._w, 'select')
2805 value = self.tk.call(self._w, 'get')
2812 self.tk.call(self._w, 'set', value)
2818 return self._getints(self.tk.call(self._w, 'coords', value))
2822 return self.tk.call(self._w, 'identify', x, y)
2839 self.tk.call(self._w, 'activate', index)
2844 self.tk.call(self._w, 'delta', deltax, deltay))
2848 return getdouble(self.tk.call(self._w, 'fraction', x, y))
2852 return self.tk.call(self._w, 'identify', x, y)
2856 return self._getdoubles(self.tk.call(self._w, 'get'))
2860 self.tk.call((self._w, 'set') + args)
2894 self.tk.call((self._w, 'bbox') + args)) or None
2896 self.tk.call('tk_textSelectTo', self._w, index)
2898 self.tk.call('tk_textBackspace', self._w)
2900 self.tk.call('tk_textIndexCloser', self._w, a, b, c)
2902 self.tk.call('tk_textResetAnchor', self._w, index)
2906 return self.tk.getboolean(self.tk.call(
2911 return self.tk.getboolean(self.tk.call(
2915 self.tk.call(self._w, 'delete', index1, index2)
2920 return self._getints(self.tk.call(self._w, 'dlineinfo', index))
2954 self.tk.call(self._w, "dump", *args)
2974 return self.tk.call(self._w, 'edit', *args)
3022 return self.tk.call(self._w, 'get', index1, index2)
3030 return self.tk.call(self._w, "image", "cget", index, option)
3036 return self.tk.call(
3041 return self.tk.call(self._w, "image", "names")
3044 return str(self.tk.call(self._w, 'index', index))
3048 self.tk.call((self._w, 'insert', index, chars) + args)
3052 return self.tk.call(
3056 return self.tk.splitlist(self.tk.call(
3060 self.tk.call(self._w, 'mark', 'set', markName, index)
3063 self.tk.call((self._w, 'mark', 'unset') + markNames)
3066 return self.tk.call(self._w, 'mark', 'next', index) or None
3069 return self.tk.call(self._w, 'mark', 'previous', index) or None
3072 self.tk.call(self._w, 'scan', 'mark', x, y)
3077 self.tk.call(self._w, 'scan', 'dragto', x, y)
3096 return str(self.tk.call(tuple(args)))
3099 self.tk.call(self._w, 'see', index)
3103 self.tk.call(
3108 self.tk.call(self._w, 'tag', 'bind', tagName, sequence, '')
3125 return self.tk.call(self._w, 'tag', 'cget', tagName, option)
3132 self.tk.call((self._w, 'tag', 'delete') + tagNames)
3136 self.tk.call(self._w, 'tag', 'lower', tagName, belowThis)
3139 return self.tk.splitlist(
3140 self.tk.call(self._w, 'tag', 'names', index))
3145 return self.tk.splitlist(self.tk.call(
3151 return self.tk.splitlist(self.tk.call(
3156 self.tk.call(
3160 return self.tk.splitlist(self.tk.call(
3164 self.tk.call(
3172 return self.tk.call(self._w, 'window', 'cget', index, option)
3179 self.tk.call(
3184 return self.tk.splitlist(
3185 self.tk.call(self._w, 'window', 'names'))
3188 self.tk.call((self._w, 'yview', '-pickplace') + what)
3248 self.tk = master.tk
3251 name = "pyimage%r" % (Image._last_id,) # tk itself would use image<x>
3262 self.tk.call(('image', 'create', imgtype, name,) + options)
3268 self.tk.call('image', 'delete', self.name)
3273 self.tk.call(self.name, 'configure', '-'+key, value)
3275 return self.tk.call(self.name, 'configure', '-'+key)
3285 self.tk.call((self.name, 'config') + res)
3290 self.tk.call('image', 'height', self.name))
3293 return self.tk.call('image', 'type', self.name)
3297 self.tk.call('image', 'width', self.name))
3309 self.tk.call(self.name, 'blank')
3312 return self.tk.call(self.name, 'cget', '-' + option)
3315 return self.tk.call(self.name, 'cget', '-' + key)
3320 self.tk.call(destImage, 'copy', self.name)
3327 self.tk.call(destImage, 'copy', self.name, '-zoom',x,y)
3334 self.tk.call(destImage, 'copy', self.name, '-subsample',x,y)
3338 return self.tk.call(self.name, 'get', x, y)
3347 self.tk.call(args)
3357 self.tk.call(args)
3367 def image_names(): return _default_root.tk.call('image', 'names')
3368 def image_types(): return _default_root.tk.call('image', 'types')
3414 return self.tk.call(self._w, 'bbox', index)
3425 return self.tk.call(self._w, 'delete', first, last)
3429 return self.tk.call(self._w, 'get')
3437 return self.tk.call(self._w, 'icursor', index)
3444 return self.tk.call(self._w, 'identify', x, y)
3449 return self.tk.call(self._w, 'index', index)
3456 return self.tk.call(self._w, 'insert', index, s)
3464 return self.tk.call(self._w, 'invoke', element)
3469 self.tk.call((self._w, 'scan') + args)) or ()
3495 self.tk.call((self._w, 'selection') + args)) or ()
3577 self.tk.call((self._w, 'add', child) + self._options(kw))
3584 self.tk.call(self._w, 'forget', child)
3597 return self.tk.call(self._w, 'identify', x, y)
3602 self.tk.call((self._w, 'proxy') + args)) or ()
3622 self.tk.call((self._w, 'sash') + args)) or ()
3655 return self.tk.call(
3728 for x in self.tk.split(
3729 self.tk.call(self._w,
3734 x = self.tk.split(self.tk.call(
3737 self.tk.call((self._w, 'paneconfigure', tagOrId) +
3743 return self.tk.call(self._w, 'panes')
3770 root = Tk()
3771 text = "This is Tcl/Tk version %s" % TclVersion