Lines Matching refs:kw
117 def _format_elemcreate(etype, script=False, *args, **kw): argument
139 opts = _format_optdict(kw, script)
378 def configure(self, style, query_opt=None, **kw): argument
385 kw[query_opt] = None
386 return _val_or_dict(self.tk, kw, self._name, "configure", style)
389 def map(self, style, query_opt=None, **kw): argument
403 self.tk.call(self._name, "map", style, *_format_mapdict(kw)),
462 def element_create(self, elementname, etype, *args, **kw): argument
464 spec, opts = _format_elemcreate(etype, False, *args, **kw)
531 def __init__(self, master, widgetname, kw=None): argument
555 Tkinter.Widget.__init__(self, master, widgetname, kw=kw)
566 def instate(self, statespec, callback=None, *args, **kw): argument
576 return callback(*args, **kw)
598 def __init__(self, master=None, **kw): argument
610 Widget.__init__(self, master, "ttk::button", kw)
621 def __init__(self, master=None, **kw): argument
633 Widget.__init__(self, master, "ttk::checkbutton", kw)
651 def __init__(self, master=None, widget=None, **kw): argument
667 Widget.__init__(self, master, widget or "ttk::entry", kw)
693 def __init__(self, master=None, **kw): argument
705 Entry.__init__(self, master, "ttk::combobox", **kw)
727 def __init__(self, master=None, **kw): argument
738 Widget.__init__(self, master, "ttk::frame", kw)
744 def __init__(self, master=None, **kw): argument
757 Widget.__init__(self, master, "ttk::label", kw)
765 def __init__(self, master=None, **kw): argument
776 Widget.__init__(self, master, "ttk::labelframe", kw)
785 def __init__(self, master=None, **kw): argument
797 Widget.__init__(self, master, "ttk::menubutton", kw)
805 def __init__(self, master=None, **kw): argument
834 Widget.__init__(self, master, "ttk::notebook", kw)
837 def add(self, child, **kw): argument
842 self.tk.call(self._w, "add", child, *(_format_optdict(kw)))
872 def insert(self, pos, child, **kw): argument
878 self.tk.call(self._w, "insert", pos, child, *(_format_optdict(kw)))
891 def tab(self, tab_id, option=None, **kw): argument
898 kw[option] = None
899 return _val_or_dict(self.tk, kw, self._w, "tab", tab_id)
937 def __init__(self, master=None, **kw): argument
952 Widget.__init__(self, master, "ttk::panedwindow", kw)
958 def insert(self, pos, child, **kw): argument
964 self.tk.call(self._w, "insert", pos, child, *(_format_optdict(kw)))
967 def pane(self, pane, option=None, **kw): argument
975 kw[option] = None
976 return _val_or_dict(self.tk, kw, self._w, "pane", pane)
999 def __init__(self, master=None, **kw): argument
1010 Widget.__init__(self, master, "ttk::progressbar", kw)
1038 def __init__(self, master=None, **kw): argument
1050 Widget.__init__(self, master, "ttk::radiobutton", kw)
1066 def __init__(self, master=None, **kw): argument
1077 Widget.__init__(self, master, "ttk::scale", kw)
1080 def configure(self, cnf=None, **kw): argument
1086 kw.update(cnf)
1087 Widget.configure(self, **kw)
1088 if any(['from' in kw, 'from_' in kw, 'to' in kw]):
1104 def __init__(self, master=None, **kw): argument
1115 Widget.__init__(self, master, "ttk::scrollbar", kw)
1122 def __init__(self, master=None, **kw): argument
1133 Widget.__init__(self, master, "ttk::separator", kw)
1140 def __init__(self, master=None, **kw): argument
1147 Widget.__init__(self, master, "ttk::sizegrip", kw)
1157 def __init__(self, master=None, **kw): argument
1177 Widget.__init__(self, master, "ttk::treeview", kw)
1207 def column(self, column, option=None, **kw): argument
1214 kw[option] = None
1215 return _val_or_dict(self.tk, kw, self._w, "column", column)
1245 def heading(self, column, option=None, **kw): argument
1266 cmd = kw.get('command')
1269 kw['command'] = self.master.register(cmd, self._substitute)
1272 kw[option] = None
1274 return _val_or_dict(self.tk, kw, self._w, 'heading', column)
1321 def insert(self, parent, index, iid=None, **kw): argument
1334 opts = _format_optdict(kw)
1344 def item(self, item, option=None, **kw): argument
1352 kw[option] = None
1353 return _val_or_dict(self.tk, kw, self._w, "item", item)
1444 def tag_configure(self, tagname, option=None, **kw): argument
1452 kw[option] = None
1453 return _val_or_dict(self.tk, kw, self._w, "tag", "configure",
1480 def __init__(self, master=None, variable=None, from_=0, to=10, **kw): argument
1491 self._label_top = kw.pop('compound', 'top') == 'top'
1493 Frame.__init__(self, master, **kw)
1589 kw = {'textvariable': variable, 'style': kwargs.pop('style', None),
1591 Menubutton.__init__(self, master, **kw)