Lines Matching refs:tk
44 master.tk.eval(
48 master.tk.eval('package require tile') # TclError may be raised here
262 def _list_from_layouttuple(tk, ltuple): argument
265 ltuple = tk.splitlist(ltuple)
284 val = _list_from_layouttuple(tk, val)
290 def _val_or_dict(tk, options, *args): argument
299 res = tk.call(*(args + options))
304 return _splitdict(tk, res, conv=_tclobj_to_py)
375 self.tk = self.master.tk
386 result = _val_or_dict(self.tk, kw, self._name, "configure", style)
400 return _list_from_statespec(self.tk.splitlist(
401 self.tk.call(self._name, "map", style, '-%s' % query_opt)))
404 self.tk,
405 self.tk.call(self._name, "map", style, *_format_mapdict(kw)),
417 return self.tk.call(self._name, "lookup", style, '-%s' % option,
460 return _list_from_layouttuple(self.tk,
461 self.tk.call(self._name, "layout", style, lspec))
467 self.tk.call(self._name, "element", "create", elementname, etype,
473 return tuple(n.lstrip('-') for n in self.tk.splitlist(
474 self.tk.call(self._name, "element", "names")))
479 return tuple(o.lstrip('-') for o in self.tk.splitlist(
480 self.tk.call(self._name, "element", "options", elementname)))
493 self.tk.call(self._name, "theme", "create", themename,
496 self.tk.call(self._name, "theme", "create", themename,
509 self.tk.call(self._name, "theme", "settings", themename, script)
514 return self.tk.splitlist(self.tk.call(self._name, "theme", "names"))
524 return self.tk.eval("return $ttk::currentTheme")
529 self.tk.call("ttk::setTheme", themename)
567 return self.tk.call(self._w, "identify", x, y)
577 ret = self.tk.getboolean(
578 self.tk.call(self._w, "instate", ' '.join(statespec)))
595 return self.tk.splitlist(str(self.tk.call(self._w, "state", statespec)))
619 return self.tk.call(self._w, "invoke")
648 return self.tk.call(self._w, "invoke")
677 return self._getints(self.tk.call(self._w, "bbox", index))
683 return self.tk.call(self._w, "identify", x, y)
690 return self.tk.getboolean(self.tk.call(self._w, "validate"))
718 return self.tk.getint(self.tk.call(self._w, "current"))
719 return self.tk.call(self._w, "current", newindex)
724 self.tk.call(self._w, "set", value)
846 self.tk.call(self._w, "add", child, *(_format_optdict(kw)))
852 self.tk.call(self._w, "forget", tab_id)
861 self.tk.call(self._w, "hide", tab_id)
867 return self.tk.call(self._w, "identify", x, y)
873 return self.tk.getint(self.tk.call(self._w, "index", tab_id))
882 self.tk.call(self._w, "insert", pos, child, *(_format_optdict(kw)))
892 return self.tk.call(self._w, "select", tab_id)
903 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
908 return self.tk.splitlist(self.tk.call(self._w, "tabs") or ())
934 self.tk.call("ttk::notebook::enableTraversal", self._w)
968 self.tk.call(self._w, "insert", pos, child, *(_format_optdict(kw)))
980 return _val_or_dict(self.tk, kw, self._w, "pane", pane)
991 return self.tk.getint(self.tk.call(self._w, "sashpos", index, newpos))
1022 self.tk.call(self._w, "start", interval)
1029 self.tk.call(self._w, "step", amount)
1035 self.tk.call(self._w, "stop")
1063 return self.tk.call(self._w, "invoke")
1102 return self.tk.call(self._w, 'get', x, y)
1178 self.tk.call(self._w, "set", value)
1218 return self._getints(self.tk.call(self._w, "bbox", item, column)) or ''
1225 return self.tk.splitlist(
1226 self.tk.call(self._w, "children", item or '') or ())
1235 self.tk.call(self._w, "children", item, newchildren)
1246 return _val_or_dict(self.tk, kw, self._w, "column", column)
1252 self.tk.call(self._w, "delete", items)
1261 self.tk.call(self._w, "detach", items)
1267 return self.tk.getboolean(self.tk.call(self._w, "exists", item))
1273 return self.tk.call(self._w, "focus", item)
1305 return _val_or_dict(self.tk, kw, self._w, 'heading', column)
1312 return self.tk.call(self._w, "identify", component, x, y)
1349 return self.tk.getint(self.tk.call(self._w, "index", item))
1367 res = self.tk.call(self._w, "insert", parent, index,
1370 res = self.tk.call(self._w, "insert", parent, index, *opts)
1384 return _val_or_dict(self.tk, kw, self._w, "item", item)
1394 self.tk.call(self._w, "move", item, parent, index)
1402 return self.tk.call(self._w, "next", item)
1408 return self.tk.call(self._w, "parent", item)
1414 return self.tk.call(self._w, "prev", item)
1423 self.tk.call(self._w, "see", item)
1445 return self.tk.splitlist(self.tk.call(self._w, "selection", selop, items))
1452 self.tk.call(self._w, "selection", selop, items)
1482 res = self.tk.call(self._w, "set", item, column, value)
1484 return _splitdict(self.tk, res,
1506 return _val_or_dict(self.tk, kw, self._w, "tag", "configure",
1517 return self.tk.splitlist(
1518 self.tk.call(self._w, "tag", "has", tagname))
1520 return self.tk.getboolean(
1521 self.tk.call(self._w, "tag", "has", tagname, item))