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

Lines Matching refs:cnf

109     def tix_configure(self, cnf=None, **kw):
122 cnf = _cnfmerge((cnf, kw))
123 elif cnf:
124 cnf = _cnfmerge(cnf)
125 if cnf is None:
127 if isinstance(cnf, StringType):
128 return self._getconfigure1('tix', 'configure', '-'+cnf)
129 return self.tk.call(('tix', 'configure') + self._options(cnf))
236 def config(self, cnf={}, **kw):
237 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
291 static_options=None, cnf={}, kw={}):
294 cnf = _cnfmerge((cnf, kw))
296 cnf = _cnfmerge(cnf)
308 for k,v in cnf.items()[:]:
311 del cnf[k]
314 Widget._setup(self, master, cnf)
322 if cnf:
323 Widget.config(self, cnf)
396 def image_create(self, imgtype, cnf={}, master=None, **kw):
401 if kw and cnf: cnf = _cnfmerge((cnf, kw))
402 elif kw: cnf = kw
404 for k, v in cnf.items():
479 def __init__(self, itemtype, cnf={}, **kw):
482 elif 'refwindow' in cnf:
483 master = cnf['refwindow']
490 *self._options(cnf,kw) )
495 def _options(self, cnf, kw):
496 if kw and cnf:
497 cnf = _cnfmerge((cnf, kw))
499 cnf = kw
501 for k, v in cnf.items():
511 def config(self, cnf={}, **kw):
513 self.stylename, 'configure', *self._options(cnf,kw))
532 def __init__(self, master=None, cnf={}, **kw):
536 TixWidget.__init__(self, master, 'tixBalloon', static, cnf, kw)
542 def bind_widget(self, widget, cnf={}, **kw):
545 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
554 def __init__(self, master=None, cnf={}, **kw):
556 ['orientation', 'options'], cnf, kw)
558 def add(self, name, cnf={}, **kw):
561 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
583 def __init__ (self, master=None, cnf={}, **kw):
586 cnf, kw)
627 def __init__ (self, master=None, cnf={}, **kw):
628 TixWidget.__init__(self, master, 'tixControl', ['options'], cnf, kw)
658 def __init__(self, master, cnf={}, **kw):
659 TixWidget.__init__(self, master, 'tixDirList', ['options'], cnf, kw)
680 def __init__(self, master, cnf={}, **kw):
681 TixWidget.__init__(self, master, 'tixDirTree', ['options'], cnf, kw)
703 def __init__(self, master, cnf={}, **kw):
704 TixWidget.__init__(self, master, 'tixDirSelectBox', ['options'], cnf, kw)
723 def __init__(self, master, cnf={}, **kw):
724 TixWidget.__init__(self, master, 'tixExFileSelectBox', ['options'], cnf, kw)
752 def __init__(self, master, cnf={}, **kw):
754 ['options'], cnf, kw)
775 def __init__(self, master, cnf={}, **kw):
777 ['options'], cnf, kw)
800 def __init__(self, master, cnf={}, **kw):
801 TixWidget.__init__(self, master, 'tixFileSelectBox', ['options'], cnf, kw)
823 def __init__(self, master, cnf={}, **kw):
825 ['options'], cnf, kw)
847 def __init__(self, master, cnf={}, **kw):
849 ['dialogtype', 'options'], cnf, kw)
868 def __init__ (self,master=None,cnf={}, **kw):
870 ['columns', 'options'], cnf, kw)
872 def add(self, entry, cnf={}, **kw):
873 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
875 def add_child(self, parent=None, cnf={}, **kw):
879 self._w, 'addchild', parent, *self._options(cnf, kw))
918 def header_create(self, col, cnf={}, **kw):
919 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
921 def header_configure(self, col, cnf={}, **kw):
922 if cnf is None:
925 *self._options(cnf, kw))
946 def indicator_create(self, entry, cnf={}, **kw):
948 self._w, 'indicator', 'create', entry, *self._options(cnf, kw))
950 def indicator_configure(self, entry, cnf={}, **kw):
951 if cnf is None:
955 self._w, 'indicator', 'configure', entry, *self._options(cnf, kw))
1011 def item_configure(self, entry, col, cnf={}, **kw):
1012 if cnf is None:
1015 *self._options(cnf, kw))
1017 def item_create(self, entry, col, cnf={}, **kw):
1019 self._w, 'item', 'create', entry, col, *self._options(cnf, kw))
1030 def entryconfigure(self, entry, cnf={}, **kw):
1031 if cnf is None:
1034 *self._options(cnf, kw))
1042 def selection_clear(self, cnf={}, **kw):
1043 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1059 def __init__ (self,master=None,cnf={}, **kw):
1060 TixWidget.__init__(self, master, 'tixInputOnly', None, cnf, kw)
1072 def __init__ (self,master=None,cnf={}, **kw):
1074 ['labelside','options'], cnf, kw)
1089 def __init__ (self,master=None,cnf={}, **kw):
1091 ['labelside','options'], cnf, kw)
1104 def __init__(self, master, cnf={}, **kw):
1105 TixWidget.__init__(self, master, 'tixListNoteBook', ['options'], cnf, kw)
1112 def add(self, name, cnf={}, **kw):
1113 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1136 def __init__(self, master=None, cnf={}, **kw):
1138 ['options'], cnf, kw)
1148 def __init__ (self,master=None,cnf={}, **kw):
1149 TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw)
1153 def add(self, name, cnf={}, **kw):
1154 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1192 def __init__(self, master, cnf={}, **kw):
1194 ['labelside', 'options'], cnf, kw)
1198 def add_command(self, name, cnf={}, **kw):
1199 self.tk.call(self._w, 'add', 'command', name, *self._options(cnf, kw))
1201 def add_separator(self, name, cnf={}, **kw):
1202 self.tk.call(self._w, 'add', 'separator', name, *self._options(cnf, kw))
1224 def __init__(self, master, cnf={}, **kw):
1225 TixWidget.__init__(self, master, 'tixPanedWindow', ['orientation', 'options'], cnf, kw)
1228 def add(self, name, cnf={}, **kw):
1229 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1245 def paneconfigure(self, entry, cnf={}, **kw):
1246 if cnf is None:
1248 self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
1266 def __init__(self, master, cnf={}, **kw):
1267 TixWidget.__init__(self, master, 'tixPopupMenu', ['options'], cnf, kw)
1282 def __init__(self, master, cnf={}, **kw):
1290 flags, cnf, kw)
1308 def __init__(self, master, cnf={}, **kw):
1310 cnf, kw)
1319 def __init__(self, master, cnf={}, **kw):
1320 TixWidget.__init__(self, master, 'tixScrolledListBox', ['options'], cnf, kw)
1329 def __init__(self, master, cnf={}, **kw):
1330 TixWidget.__init__(self, master, 'tixScrolledText', ['options'], cnf, kw)
1339 def __init__(self, master, cnf={}, **kw):
1341 cnf, kw)
1350 def __init__(self, master, cnf={}, **kw):
1351 TixWidget.__init__(self, master, 'tixScrolledWindow', ['options'], cnf, kw)
1363 def __init__(self, master, cnf={}, **kw):
1367 cnf, kw)
1370 def add(self, name, cnf={}, **kw):
1371 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1383 def __init__ (self,master=None,cnf={}, **kw):
1384 TixWidget.__init__(self, master, 'tixShell', ['options', 'title'], cnf, kw)
1395 def __init__ (self,master=None,cnf={}, **kw):
1400 'parent', 'transient'], cnf, kw)
1414 def __init__(self, master=None, cnf={}, **kw):
1416 ['orientation', 'options'], cnf, kw)
1436 def __init__ (self,master=None,cnf={}, **kw):
1437 TixWidget.__init__(self, master, 'tixTList', ['options'], cnf, kw)
1466 def insert(self, index, cnf={}, **kw):
1467 self.tk.call(self._w, 'insert', index, *self._options(cnf, kw))
1500 def selection_clear(self, cnf={}, **kw):
1501 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1515 def __init__(self, master=None, cnf={}, **kw):
1517 ['options'], cnf, kw)
1562 def __init__(self, master=None, cnf={}, **kw):
1564 ['options', 'radio'], cnf, kw)
1796 def __init__(self, master=None, cnf={}, **kw):
1798 self.cnf= cnf
1799 TixWidget.__init__(self, master, 'tixGrid', static, cnf, kw)
1849 def entryconfigure(self, x, y, cnf=None, **kw):
1850 return self._configure(('entryconfigure', x, y), cnf, kw)
1886 args= self._options(self.cnf, kw)
1951 def __init__(self, master=None, cnf={}, **kw):
1953 self.cnf= cnf
1954 TixWidget.__init__(self, master, 'tixScrolledGrid', static, cnf, kw)