• Home
  • Raw
  • Download

Lines Matching refs:tk

123 def _splitdict(tk, v, cut_minus=True, conv=None):  argument
131 t = tk.splitlist(v)
336 self._tk = master.tk
593 _default_root.tk.mainloop(n)
604 return _default_root.tk.getboolean(s)
630 self.tk.deletecommand(name)
638 self.tk.deletecommand(name)
651 return self.tk.getboolean(self.tk.call(
656 self.tk.call('tk_bisque')
669 self.tk.call(('tk_setPalette',)
677 self.tk.call('tkwait', 'variable', name)
686 self.tk.call('tkwait', 'window', window._w)
695 self.tk.call('tkwait', 'visibility', window._w)
699 self.tk.setvar(name, value)
703 return self.tk.getvar(name)
707 return self.tk.getint(s)
713 return self.tk.getdouble(s)
720 return self.tk.getboolean(s)
730 self.tk.call('focus', self._w)
737 self.tk.call('focus', '-force', self._w)
746 name = self.tk.call('focus')
755 name = self.tk.call('focus', '-displayof', self._w)
762 name = self.tk.call('focus', '-lastfor', self._w)
769 self.tk.call('tk_focusFollowsMouse')
780 name = self.tk.call('tk_focusNext', self._w)
786 name = self.tk.call('tk_focusPrev', self._w)
799 self.tk.call('after', ms)
812 return self.tk.call('after', ms, name)
832 data = self.tk.call('after', 'info', id)
833 script = self.tk.splitlist(data)[0]
837 self.tk.call('after', 'cancel', id)
841 self.tk.call(('bell',) + self._displayof(displayof))
862 return self.tk.call(('clipboard', 'get') + self._options(kw))
865 return self.tk.call(('clipboard', 'get') + self._options(kw))
873 self.tk.call(('clipboard', 'clear') + self._options(kw))
882 self.tk.call(('clipboard', 'append') + self._options(kw)
889 name = self.tk.call('grab', 'current', self._w)
895 self.tk.call('grab', 'release', self._w)
902 self.tk.call('grab', 'set', self._w)
910 self.tk.call('grab', 'set', '-global', self._w)
915 status = self.tk.call('grab', 'status', self._w)
925 self.tk.call('option', 'add', pattern, value, priority)
931 self.tk.call('option', 'clear')
938 return self.tk.call('option', 'get', self._w, name, className)
945 self.tk.call('option', 'readfile', fileName, priority)
950 self.tk.call(('selection', 'clear') + self._options(kw))
965 return self.tk.call(('selection', 'get') + self._options(kw))
968 return self.tk.call(('selection', 'get') + self._options(kw))
983 self.tk.call(('selection', 'handle') + self._options(kw)
991 self.tk.call(('selection', 'own') +
1002 name = self.tk.call(('selection', 'own') + self._options(kw))
1008 return self.tk.call(('send', interp, cmd) + args)
1012 self.tk.call('lower', self._w, belowThis)
1016 self.tk.call('raise', self._w, aboveThis)
1023 return self.tk.getint(self.tk.call(args))
1029 return self.tk.call(args)
1033 return self.tk.getint(
1034 self.tk.call('winfo', 'cells', self._w))
1039 for child in self.tk.splitlist(
1040 self.tk.call('winfo', 'children', self._w)):
1051 return self.tk.call('winfo', 'class', self._w)
1055 return self.tk.getboolean(
1056 self.tk.call('winfo', 'colormapfull', self._w))
1062 name = self.tk.call(args)
1068 return self.tk.getint(self.tk.call('winfo', 'depth', self._w))
1072 return self.tk.getint(
1073 self.tk.call('winfo', 'exists', self._w))
1078 return self.tk.getdouble(self.tk.call(
1083 return self.tk.call('winfo', 'geometry', self._w)
1087 return self.tk.getint(
1088 self.tk.call('winfo', 'height', self._w))
1092 return int(self.tk.call('winfo', 'id', self._w), 0)
1097 return self.tk.splitlist(self.tk.call(args))
1101 return self.tk.getint(
1102 self.tk.call('winfo', 'ismapped', self._w))
1106 return self.tk.call('winfo', 'manager', self._w)
1110 return self.tk.call('winfo', 'name', self._w)
1114 return self.tk.call('winfo', 'parent', self._w)
1120 return self.tk.call(args)
1124 return self.tk.getint(
1125 self.tk.call('winfo', 'pixels', self._w, number))
1129 return self.tk.getint(
1130 self.tk.call('winfo', 'pointerx', self._w))
1135 self.tk.call('winfo', 'pointerxy', self._w))
1139 return self.tk.getint(
1140 self.tk.call('winfo', 'pointery', self._w))
1144 return self.tk.getint(
1145 self.tk.call('winfo', 'reqheight', self._w))
1149 return self.tk.getint(
1150 self.tk.call('winfo', 'reqwidth', self._w))
1156 self.tk.call('winfo', 'rgb', self._w, color))
1161 return self.tk.getint(
1162 self.tk.call('winfo', 'rootx', self._w))
1167 return self.tk.getint(
1168 self.tk.call('winfo', 'rooty', self._w))
1172 return self.tk.call('winfo', 'screen', self._w)
1177 return self.tk.getint(
1178 self.tk.call('winfo', 'screencells', self._w))
1183 return self.tk.getint(
1184 self.tk.call('winfo', 'screendepth', self._w))
1189 return self.tk.getint(
1190 self.tk.call('winfo', 'screenheight', self._w))
1195 return self.tk.getint(
1196 self.tk.call('winfo', 'screenmmheight', self._w))
1201 return self.tk.getint(
1202 self.tk.call('winfo', 'screenmmwidth', self._w))
1208 return self.tk.call('winfo', 'screenvisual', self._w)
1213 return self.tk.getint(
1214 self.tk.call('winfo', 'screenwidth', self._w))
1219 return self.tk.call('winfo', 'server', self._w)
1223 return self._nametowidget(self.tk.call(
1228 return self.tk.getint(
1229 self.tk.call('winfo', 'viewable', self._w))
1235 return self.tk.call('winfo', 'visual', self._w)
1239 return self.tk.call('winfo', 'visualid', self._w)
1247 data = self.tk.call('winfo', 'visualsavailable', self._w,
1249 data = [self.tk.splitlist(x) for x in self.tk.splitlist(data)]
1264 return self.tk.getint(
1265 self.tk.call('winfo', 'vrootheight', self._w))
1271 return self.tk.getint(
1272 self.tk.call('winfo', 'vrootwidth', self._w))
1277 return self.tk.getint(
1278 self.tk.call('winfo', 'vrootx', self._w))
1283 return self.tk.getint(
1284 self.tk.call('winfo', 'vrooty', self._w))
1288 return self.tk.getint(
1289 self.tk.call('winfo', 'width', self._w))
1294 return self.tk.getint(
1295 self.tk.call('winfo', 'x', self._w))
1300 return self.tk.getint(
1301 self.tk.call('winfo', 'y', self._w))
1305 self.tk.call('update')
1311 self.tk.call('update', 'idletasks')
1321 return self.tk.splitlist(
1322 self.tk.call('bindtags', self._w))
1324 self.tk.call('bindtags', self._w, tagList)
1329 self.tk.call(what + (sequence, func))
1337 self.tk.call(what + (sequence, cmd))
1340 return self.tk.call(what + (sequence,))
1342 return self.tk.splitlist(self.tk.call(what))
1388 self.tk.call('bind', self._w, sequence, '')
1401 self.tk.call('bind', 'all' , sequence, '')
1416 self.tk.call('bind', className , sequence, '')
1420 self.tk.mainloop(n)
1424 self.tk.quit()
1429 return tuple(map(self.tk.getint, self.tk.splitlist(string)))
1434 return tuple(map(self.tk.getdouble, self.tk.splitlist(string)))
1439 return self.tk.getboolean(string)
1456 self.tk.call('tk', 'windowingsystem')
1519 self.tk.createcommand(name, f)
1541 getboolean = self.tk.getboolean
1543 getint = self.tk.getint
1608 for x in self.tk.splitlist(self.tk.call(*args)):
1609 x = self.tk.splitlist(x)
1614 x = self.tk.splitlist(self.tk.call(*args))
1627 self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
1643 return self.tk.call(self._w, 'cget', '-' + key)
1652 splitlist = self.tk.splitlist
1654 splitlist(self.tk.call(self._w, 'configure'))]
1675 return self._getboolean(self.tk.call(
1678 self.tk.call('pack', 'propagate', self._w, flag)
1686 self.tk.splitlist(
1687 self.tk.call('pack', 'slaves', self._w))]
1696 self.tk.splitlist(
1697 self.tk.call(
1707 self.tk.call('grid', 'anchor', self._w, anchor)
1728 return self._getints(self.tk.call(*args)) or None
1739 return self.tk.getdouble(svalue)
1741 return self.tk.getint(svalue)
1758 self.tk,
1759 self.tk.call('grid', command, self._w, index),
1761 res = self.tk.call(
1782 self.tk.call(
1793 return self._getboolean(self.tk.call(
1796 self.tk.call('grid', 'propagate', self._w, flag)
1811 self.tk.call('grid', 'size', self._w)) or None
1824 self.tk.splitlist(self.tk.call(
1835 self.tk.call(args)
1840 self.tk.call(args)
1849 self.tk.call(args)
1854 return self.tk.splitlist(
1855 self.tk.call('event', 'info', virtual))
1861 return self.tk.splitlist(self.tk.call('image', 'names'))
1865 return self.tk.splitlist(self.tk.call('image', 'types'))
1896 res = self.tk.call(self._w, 'xview', *args)
1903 self.tk.call(self._w, 'xview', 'moveto', fraction)
1908 self.tk.call(self._w, 'xview', 'scroll', number, what)
1917 res = self.tk.call(self._w, 'yview', *args)
1924 self.tk.call(self._w, 'yview', 'moveto', fraction)
1929 self.tk.call(self._w, 'yview', 'scroll', number, what)
1942 self.tk.call('wm', 'aspect', self._w,
1967 return self.tk.call(args)
1974 return self.tk.call('wm', 'client', self._w, name)
1986 self.tk.call(args)
1989 for x in self.tk.splitlist(self.tk.call(args))]
1997 return self.tk.call('wm', 'command', self._w, value)
2004 return self.tk.call('wm', 'deiconify', self._w)
2012 return self.tk.call('wm', 'focusmodel', self._w, model)
2022 self.tk.call('wm', 'forget', window)
2028 return self.tk.call('wm', 'frame', self._w)
2035 return self.tk.call('wm', 'geometry', self._w, newGeometry)
2046 return self._getints(self.tk.call(
2055 return self.tk.call('wm', 'group', self._w, pathName)
2069 return self.tk.call('wm', 'iconbitmap', self._w, '-default', default)
2071 return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
2077 return self.tk.call('wm', 'iconify', self._w)
2084 return self.tk.call('wm', 'iconmask', self._w, bitmap)
2091 return self.tk.call('wm', 'iconname', self._w, newName)
2116 self.tk.call('wm', 'iconphoto', self._w, "-default", *args)
2118 self.tk.call('wm', 'iconphoto', self._w, *args)
2125 return self._getints(self.tk.call(
2133 return self.tk.call('wm', 'iconwindow', self._w, pathName)
2141 self.tk.call('wm', 'manage', widget)
2149 return self._getints(self.tk.call(
2158 return self._getints(self.tk.call(
2167 return self._getboolean(self.tk.call(
2176 return self.tk.call('wm', 'positionfrom', self._w, who)
2188 return self.tk.call(
2196 return self.tk.call('wm', 'resizable', self._w, width, height)
2204 return self.tk.call('wm', 'sizefrom', self._w, who)
2211 return self.tk.call('wm', 'state', self._w, newstate)
2217 return self.tk.call('wm', 'title', self._w, string)
2224 return self.tk.call('wm', 'transient', self._w, master)
2231 return self.tk.call('wm', 'withdraw', self._w)
2253 self.tk = None
2261 …self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, …
2270 self.tk.loadtk()
2277 tk_version = self.tk.getvar('tk_version')
2282 tcl_version = str(self.tk.getvar('tcl_version'))
2291 self.tk.createcommand('tkerror', _tkerror)
2292 self.tk.createcommand('exit', _exit)
2303 self.tk.call('destroy', self._w)
2323 self.tk.call('source', class_tcl)
2327 self.tk.call('source', base_tcl)
2345 return getattr(self.tk, attr)
2387 self.tk.call(
2395 self.tk.call('pack', 'forget', self._w)
2402 d = _splitdict(self.tk, self.tk.call('pack', 'info', self._w))
2439 self.tk.call(
2447 self.tk.call('place', 'forget', self._w)
2454 d = _splitdict(self.tk, self.tk.call('place', 'info', self._w))
2484 self.tk.call(
2494 self.tk.call('grid', 'forget', self._w)
2500 self.tk.call('grid', 'remove', self._w)
2505 d = _splitdict(self.tk, self.tk.call('grid', 'info', self._w))
2530 self.tk = master.tk
2567 self.tk.call(
2575 self.tk.call('destroy', self._w)
2582 return self.tk.call((self._w, name) + args)
2657 self.tk.call(self._w, 'flash')
2667 return self.tk.call(self._w, 'invoke')
2687 self.tk.call((self._w, 'addtag') + args)
2726 self.tk.call((self._w, 'bbox') + args)) or None
2731 self.tk.call(self._w, 'bind', tagOrId, sequence, '')
2747 return self.tk.getdouble(self.tk.call(
2753 return self.tk.getdouble(self.tk.call(
2759 return [self.tk.getdouble(x) for x in
2760 self.tk.splitlist(
2761 self.tk.call((self._w, 'coords') + args))]
2771 return self.tk.getint(self.tk.call(
2814 self.tk.call((self._w, 'dchars') + args)
2818 self.tk.call((self._w, 'delete') + args)
2823 self.tk.call((self._w, 'dtag') + args)
2828 self.tk.call((self._w, 'find') + args)) or ()
2865 return self.tk.call((self._w, 'focus') + args)
2869 return self.tk.splitlist(
2870 self.tk.call((self._w, 'gettags') + args))
2875 self.tk.call((self._w, 'icursor') + args)
2879 return self.tk.getint(self.tk.call((self._w, 'index') + args))
2884 self.tk.call((self._w, 'insert') + args)
2888 return self.tk.call(
2909 self.tk.call((self._w, 'lower') + args)
2915 self.tk.call((self._w, 'move') + args)
2924 self.tk.call(self._w, 'moveto', tagOrId, x, y)
2931 return self.tk.call((self._w, 'postscript') +
2937 self.tk.call((self._w, 'raise') + args)
2943 self.tk.call((self._w, 'scale') + args)
2947 self.tk.call(self._w, 'scan', 'mark', x, y)
2953 self.tk.call(self._w, 'scan', 'dragto', x, y, gain)
2957 self.tk.call(self._w, 'select', 'adjust', tagOrId, index)
2961 self.tk.call(self._w, 'select', 'clear')
2965 self.tk.call(self._w, 'select', 'from', tagOrId, index)
2969 return self.tk.call(self._w, 'select', 'item') or None
2973 self.tk.call(self._w, 'select', 'to', tagOrId, index)
2977 return self.tk.call(self._w, 'type', tagOrId) or None
2997 self.tk.call(self._w, 'deselect')
3001 self.tk.call(self._w, 'flash')
3005 return self.tk.call(self._w, 'invoke')
3009 self.tk.call(self._w, 'select')
3013 self.tk.call(self._w, 'toggle')
3034 self.tk.call(self._w, 'delete', first, last)
3038 return self.tk.call(self._w, 'get')
3042 self.tk.call(self._w, 'icursor', index)
3046 return self.tk.getint(self.tk.call(
3051 self.tk.call(self._w, 'insert', index, string)
3055 self.tk.call(self._w, 'scan', 'mark', x)
3061 self.tk.call(self._w, 'scan', 'dragto', x)
3065 self.tk.call(self._w, 'selection', 'adjust', index)
3071 self.tk.call(self._w, 'selection', 'clear')
3077 self.tk.call(self._w, 'selection', 'from', index)
3084 return self.tk.getboolean(
3085 self.tk.call(self._w, 'selection', 'present'))
3091 self.tk.call(self._w, 'selection', 'range', start, end)
3097 self.tk.call(self._w, 'selection', 'to', index)
3161 self.tk.call(self._w, 'activate', index)
3166 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
3170 return self._getints(self.tk.call(self._w, 'curselection')) or ()
3174 self.tk.call(self._w, 'delete', first, last)
3179 return self.tk.splitlist(self.tk.call(
3182 return self.tk.call(self._w, 'get', first)
3186 i = self.tk.call(self._w, 'index', index)
3188 return self.tk.getint(i)
3192 self.tk.call((self._w, 'insert', index) + elements)
3196 return self.tk.getint(self.tk.call(
3201 self.tk.call(self._w, 'scan', 'mark', x, y)
3207 self.tk.call(self._w, 'scan', 'dragto', x, y)
3211 self.tk.call(self._w, 'see', index)
3215 self.tk.call(self._w, 'selection', 'anchor', index)
3221 self.tk.call(self._w,
3228 return self.tk.getboolean(self.tk.call(
3236 self.tk.call(self._w, 'selection', 'set', first, last)
3242 return self.tk.getint(self.tk.call(self._w, 'size'))
3246 return self.tk.call(
3276 self.tk.call('tk_popup', self._w, x, y, entry)
3280 self.tk.call(self._w, 'activate', index)
3284 self.tk.call((self._w, 'add', itemType) +
3309 self.tk.call((self._w, 'insert', index, itemType) +
3346 self.tk.call(self._w, 'delete', index1, index2)
3350 return self.tk.call(self._w, 'entrycget', index, '-' + option)
3360 i = self.tk.call(self._w, 'index', index)
3362 return self.tk.getint(i)
3367 return self.tk.call(self._w, 'invoke', index)
3371 self.tk.call(self._w, 'post', x, y)
3375 return self.tk.call(self._w, 'type', index)
3379 self.tk.call(self._w, 'unpost')
3384 return self.tk.getint(self.tk.call(self._w, 'xposition', index))
3388 return self.tk.getint(self.tk.call(
3424 self.tk.call(self._w, 'deselect')
3428 self.tk.call(self._w, 'flash')
3432 return self.tk.call(self._w, 'invoke')
3436 self.tk.call(self._w, 'select')
3455 value = self.tk.call(self._w, 'get')
3457 return self.tk.getint(value)
3459 return self.tk.getdouble(value)
3463 self.tk.call(self._w, 'set', value)
3470 return self._getints(self.tk.call(self._w, 'coords', value))
3475 return self.tk.call(self._w, 'identify', x, y)
3499 return self.tk.call(self._w, 'activate', index) or None
3504 return self.tk.getdouble(
3505 self.tk.call(self._w, 'delta', deltax, deltay))
3510 return self.tk.getdouble(self.tk.call(self._w, 'fraction', x, y))
3515 return self.tk.call(self._w, 'identify', x, y)
3520 return self._getdoubles(self.tk.call(self._w, 'get'))
3525 self.tk.call(self._w, 'set', first, last)
3560 self.tk.call(self._w, 'bbox', index)) or None
3565 return self.tk.getboolean(self.tk.call(
3582 res = self.tk.call(self._w, 'count', *args) or None
3592 return self.tk.getboolean(self.tk.call(self._w, 'debug'))
3593 self.tk.call(self._w, 'debug', boolean)
3597 self.tk.call(self._w, 'delete', index1, index2)
3603 return self._getints(self.tk.call(self._w, 'dlineinfo', index))
3638 self.tk.call(self._w, "dump", *args)
3658 return self.tk.call(self._w, 'edit', *args)
3706 return self.tk.call(self._w, 'get', index1, index2)
3715 return self.tk.call(self._w, "image", "cget", index, option)
3723 return self.tk.call(
3729 return self.tk.call(self._w, "image", "names")
3733 return str(self.tk.call(self._w, 'index', index))
3738 self.tk.call((self._w, 'insert', index, chars) + args)
3743 return self.tk.call(
3748 return self.tk.splitlist(self.tk.call(
3753 self.tk.call(self._w, 'mark', 'set', markName, index)
3757 self.tk.call((self._w, 'mark', 'unset') + markNames)
3761 return self.tk.call(self._w, 'mark', 'next', index) or None
3765 return self.tk.call(self._w, 'mark', 'previous', index) or None
3772 self.tk.call(self._w, 'peer', 'create', newPathName,
3778 return self.tk.splitlist(self.tk.call(self._w, 'peer', 'names'))
3786 self.tk.call(self._w, 'replace', index1, index2, chars, *args)
3790 self.tk.call(self._w, 'scan', 'mark', x, y)
3796 self.tk.call(self._w, 'scan', 'dragto', x, y)
3816 return str(self.tk.call(tuple(args)))
3820 self.tk.call(self._w, 'see', index)
3825 self.tk.call(
3831 self.tk.call(self._w, 'tag', 'bind', tagName, sequence, '')
3850 return self.tk.call(self._w, 'tag', 'cget', tagName, option)
3860 self.tk.call((self._w, 'tag', 'delete') + tagNames)
3865 self.tk.call(self._w, 'tag', 'lower', tagName, belowThis)
3869 return self.tk.splitlist(
3870 self.tk.call(self._w, 'tag', 'names', index))
3876 return self.tk.splitlist(self.tk.call(
3883 return self.tk.splitlist(self.tk.call(
3889 self.tk.call(
3894 return self.tk.splitlist(self.tk.call(
3899 self.tk.call(
3908 return self.tk.call(self._w, 'window', 'cget', index, option)
3918 self.tk.call(
3924 return self.tk.splitlist(
3925 self.tk.call(self._w, 'window', 'names'))
3929 self.tk.call((self._w, 'yview', '-pickplace') + what)
3995 self.tk = getattr(master, 'tk', master)
4006 self.tk.call(('image', 'create', imgtype, name,) + options)
4014 self.tk.call('image', 'delete', self.name)
4020 self.tk.call(self.name, 'configure', '-'+key, value)
4023 return self.tk.call(self.name, 'configure', '-'+key)
4034 self.tk.call((self.name, 'config') + res)
4040 return self.tk.getint(
4041 self.tk.call('image', 'height', self.name))
4045 return self.tk.call('image', 'type', self.name)
4049 return self.tk.getint(
4050 self.tk.call('image', 'width', self.name))
4065 self.tk.call(self.name, 'blank')
4069 return self.tk.call(self.name, 'cget', '-' + option)
4073 return self.tk.call(self.name, 'cget', '-' + key)
4078 destImage = PhotoImage(master=self.tk)
4079 self.tk.call(destImage, 'copy', self.name)
4087 destImage = PhotoImage(master=self.tk)
4089 self.tk.call(destImage, 'copy', self.name, '-zoom',x,y)
4097 destImage = PhotoImage(master=self.tk)
4099 self.tk.call(destImage, 'copy', self.name, '-subsample',x,y)
4104 return self.tk.call(self.name, 'get', x, y)
4114 self.tk.call(args)
4125 self.tk.call(args)
4129 return self.tk.getboolean(self.tk.call(
4134 self.tk.call(self.name, 'transparency', 'set', x, y, boolean)
4148 return _default_root.tk.splitlist(_default_root.tk.call('image', 'names'))
4152 return _default_root.tk.splitlist(_default_root.tk.call('image', 'types'))
4199 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
4210 return self.tk.call(self._w, 'delete', first, last)
4214 return self.tk.call(self._w, 'get')
4222 return self.tk.call(self._w, 'icursor', index)
4229 return self.tk.call(self._w, 'identify', x, y)
4234 return self.tk.call(self._w, 'index', index)
4241 return self.tk.call(self._w, 'insert', index, s)
4249 return self.tk.call(self._w, 'invoke', element)
4254 self.tk.call((self._w, 'scan') + args)) or ()
4280 self.tk.call((self._w, 'selection') + args)) or ()
4310 return self.tk.call(self._w, 'selection', 'element', element)
4319 return self.tk.getboolean(
4320 self.tk.call(self._w, 'selection', 'present'))
4384 self.tk.call((self._w, 'add', child) + self._options(kw))
4391 self.tk.call(self._w, 'forget', child)
4405 return self.tk.call(self._w, 'identify', x, y)
4410 self.tk.call((self._w, 'proxy') + args)) or ()
4430 self.tk.call((self._w, 'sash') + args)) or ()
4463 return self.tk.call(
4539 self.tk.call((self._w, 'paneconfigure', tagOrId) +
4546 return self.tk.splitlist(self.tk.call(self._w, 'panes'))