Home | History | Annotate | Download | only in tkinter

Lines Matching refs:cnf

101     def tix_configure(self, cnf=None, **kw):
114 cnf = _cnfmerge((cnf, kw))
115 elif cnf:
116 cnf = _cnfmerge(cnf)
117 if cnf is None:
119 if isinstance(cnf, str):
120 return self._getconfigure1('tix', 'configure', '-'+cnf)
121 return self.tk.call(('tix', 'configure') + self._options(cnf))
228 def config(self, cnf={}, **kw):
229 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
283 static_options=None, cnf={}, kw={}):
286 cnf = _cnfmerge((cnf, kw))
288 cnf = _cnfmerge(cnf)
300 for k,v in list(cnf.items()):
303 del cnf[k]
306 Widget._setup(self, master, cnf)
314 if cnf:
315 Widget.config(self, cnf)
388 def image_create(self, imgtype, cnf={}, master=None, **kw):
393 if kw and cnf: cnf = _cnfmerge((cnf, kw))
394 elif kw: cnf = kw
396 for k, v in cnf.items():
471 def __init__(self, itemtype, cnf={}, *, master=None, **kw):
475 elif 'refwindow' in cnf:
476 master = cnf['refwindow']
484 *self._options(cnf,kw) )
489 def _options(self, cnf, kw):
490 if kw and cnf:
491 cnf = _cnfmerge((cnf, kw))
493 cnf = kw
495 for k, v in cnf.items():
505 def config(self, cnf={}, **kw):
507 self.stylename, 'configure', *self._options(cnf,kw))
526 def __init__(self, master=None, cnf={}, **kw):
530 TixWidget.__init__(self, master, 'tixBalloon', static, cnf, kw)
536 def bind_widget(self, widget, cnf={}, **kw):
539 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
548 def __init__(self, master=None, cnf={}, **kw):
550 ['orientation', 'options'], cnf, kw)
552 def add(self, name, cnf={}, **kw):
555 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
577 def __init__ (self, master=None, cnf={}, **kw):
580 cnf, kw)
621 def __init__ (self, master=None, cnf={}, **kw):
622 TixWidget.__init__(self, master, 'tixControl', ['options'], cnf, kw)
652 def __init__(self, master, cnf={}, **kw):
653 TixWidget.__init__(self, master, 'tixDirList', ['options'], cnf, kw)
674 def __init__(self, master, cnf={}, **kw):
675 TixWidget.__init__(self, master, 'tixDirTree', ['options'], cnf, kw)
697 def __init__(self, master, cnf={}, **kw):
698 TixWidget.__init__(self, master, 'tixDirSelectBox', ['options'], cnf, kw)
717 def __init__(self, master, cnf={}, **kw):
718 TixWidget.__init__(self, master, 'tixExFileSelectBox', ['options'], cnf, kw)
746 def __init__(self, master, cnf={}, **kw):
748 ['options'], cnf, kw)
769 def __init__(self, master, cnf={}, **kw):
771 ['options'], cnf, kw)
794 def __init__(self, master, cnf={}, **kw):
795 TixWidget.__init__(self, master, 'tixFileSelectBox', ['options'], cnf, kw)
817 def __init__(self, master, cnf={}, **kw):
819 ['options'], cnf, kw)
841 def __init__(self, master, cnf={}, **kw):
843 ['dialogtype', 'options'], cnf, kw)
862 def __init__ (self,master=None,cnf={}, **kw):
864 ['columns', 'options'], cnf, kw)
866 def add(self, entry, cnf={}, **kw):
867 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
869 def add_child(self, parent=None, cnf={}, **kw):
873 self._w, 'addchild', parent, *self._options(cnf, kw))
912 def header_create(self, col, cnf={}, **kw):
913 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
915 def header_configure(self, col, cnf={}, **kw):
916 if cnf is None:
919 *self._options(cnf, kw))
940 def indicator_create(self, entry, cnf={}, **kw):
942 self._w, 'indicator', 'create', entry, *self._options(cnf, kw))
944 def indicator_configure(self, entry, cnf={}, **kw):
945 if cnf is None:
949 self._w, 'indicator', 'configure', entry, *self._options(cnf, kw))
1005 def item_configure(self, entry, col, cnf={}, **kw):
1006 if cnf is None:
1009 *self._options(cnf, kw))
1011 def item_create(self, entry, col, cnf={}, **kw):
1013 self._w, 'item', 'create', entry, col, *self._options(cnf, kw))
1024 def entryconfigure(self, entry, cnf={}, **kw):
1025 if cnf is None:
1028 *self._options(cnf, kw))
1036 def selection_clear(self, cnf={}, **kw):
1037 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1053 def __init__ (self,master=None,cnf={}, **kw):
1054 TixWidget.__init__(self, master, 'tixInputOnly', None, cnf, kw)
1066 def __init__ (self,master=None,cnf={}, **kw):
1068 ['labelside','options'], cnf, kw)
1083 def __init__ (self,master=None,cnf={}, **kw):
1085 ['labelside','options'], cnf, kw)
1098 def __init__(self, master, cnf={}, **kw):
1099 TixWidget.__init__(self, master, 'tixListNoteBook', ['options'], cnf, kw)
1106 def add(self, name, cnf={}, **kw):
1107 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1130 def __init__(self, master=None, cnf={}, **kw):
1132 ['options'], cnf, kw)
1142 def __init__ (self,master=None,cnf={}, **kw):
1143 TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw)
1147 def add(self, name, cnf={}, **kw):
1148 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1186 def __init__(self, master, cnf={}, **kw):
1187 TixWidget.__init__(self, master, 'tixOptionMenu', ['options'], cnf, kw)
1191 def add_command(self, name, cnf={}, **kw):
1192 self.tk.call(self._w, 'add', 'command', name, *self._options(cnf, kw))
1194 def add_separator(self, name, cnf={}, **kw):
1195 self.tk.call(self._w, 'add', 'separator', name, *self._options(cnf, kw))
1217 def __init__(self, master, cnf={}, **kw):
1218 TixWidget.__init__(self, master, 'tixPanedWindow', ['orientation', 'options'], cnf, kw)
1221 def add(self, name, cnf={}, **kw):
1222 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1238 def paneconfigure(self, entry, cnf={}, **kw):
1239 if cnf is None:
1241 self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
1259 def __init__(self, master, cnf={}, **kw):
1260 TixWidget.__init__(self, master, 'tixPopupMenu', ['options'], cnf, kw)
1275 def __init__(self, master, cnf={}, **kw):
1283 flags, cnf, kw)
1301 def __init__(self, master, cnf={}, **kw):
1303 cnf, kw)
1312 def __init__(self, master, cnf={}, **kw):
1313 TixWidget.__init__(self, master, 'tixScrolledListBox', ['options'], cnf, kw)
1322 def __init__(self, master, cnf={}, **kw):
1323 TixWidget.__init__(self, master, 'tixScrolledText', ['options'], cnf, kw)
1332 def __init__(self, master, cnf={}, **kw):
1334 cnf, kw)
1343 def __init__(self, master, cnf={}, **kw):
1344 TixWidget.__init__(self, master, 'tixScrolledWindow', ['options'], cnf, kw)
1356 def __init__(self, master, cnf={}, **kw):
1360 cnf, kw)
1363 def add(self, name, cnf={}, **kw):
1364 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1376 def __init__ (self,master=None,cnf={}, **kw):
1377 TixWidget.__init__(self, master, 'tixShell', ['options', 'title'], cnf, kw)
1388 def __init__ (self,master=None,cnf={}, **kw):
1393 'parent', 'transient'], cnf, kw)
1407 def __init__(self, master=None, cnf={}, **kw):
1409 ['orientation', 'options'], cnf, kw)
1429 def __init__ (self,master=None,cnf={}, **kw):
1430 TixWidget.__init__(self, master, 'tixTList', ['options'], cnf, kw)
1459 def insert(self, index, cnf={}, **kw):
1460 self.tk.call(self._w, 'insert', index, *self._options(cnf, kw))
1493 def selection_clear(self, cnf={}, **kw):
1494 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1508 def __init__(self, master=None, cnf={}, **kw):
1510 ['options'], cnf, kw)
1555 def __init__(self, master=None, cnf={}, **kw):
1557 ['options', 'radio'], cnf, kw)
1788 def __init__(self, master=None, cnf={}, **kw):
1790 self.cnf= cnf
1791 TixWidget.__init__(self, master, 'tixGrid', static, cnf, kw)
1841 def entryconfigure(self, x, y, cnf=None, **kw):
1842 return self._configure(('entryconfigure', x, y), cnf, kw)
1878 args= self._options(self.cnf, kw)
1943 def __init__(self, master=None, cnf={}, **kw):
1945 self.cnf= cnf
1946 TixWidget.__init__(self, master, 'tixScrolledGrid', static, cnf, kw)