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

Lines Matching refs:cnf

108     def tix_configure(self, cnf=None, **kw):
121 cnf = _cnfmerge((cnf, kw))
122 elif cnf:
123 cnf = _cnfmerge(cnf)
124 if cnf is None:
125 cnf = {}
127 cnf[x[0][1:]] = (x[0][1:],) + x[1:]
128 return cnf
129 if isinstance(cnf, StringType):
130 x = self.tk.split(self.tk.call('tix', 'configure', '-'+cnf))
132 return self.tk.call(('tix', 'configure') + self._options(cnf))
239 def config(self, cnf={}, **kw):
240 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
294 static_options=None, cnf={}, kw={}):
297 cnf = _cnfmerge((cnf, kw))
299 cnf = _cnfmerge(cnf)
311 for k,v in cnf.items()[:]:
314 del cnf[k]
317 Widget._setup(self, master, cnf)
325 if cnf:
326 Widget.config(self, cnf)
399 def image_create(self, imgtype, cnf={}, master=None, **kw):
404 if kw and cnf: cnf = _cnfmerge((cnf, kw))
405 elif kw: cnf = kw
407 for k, v in cnf.items():
489 def __init__(self, itemtype, cnf={}, **kw):
491 if not master and 'refwindow' in cnf: master=cnf['refwindow']
496 *self._options(cnf,kw) )
501 def _options(self, cnf, kw):
502 if kw and cnf:
503 cnf = _cnfmerge((cnf, kw))
505 cnf = kw
507 for k, v in cnf.items():
517 def config(self, cnf={}, **kw):
521 self.stylename, 'configure', *self._options(cnf,kw))))
540 def __init__(self, master=None, cnf={}, **kw):
544 TixWidget.__init__(self, master, 'tixBalloon', static, cnf, kw)
550 def bind_widget(self, widget, cnf={}, **kw):
553 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
562 def __init__(self, master=None, cnf={}, **kw):
564 ['orientation', 'options'], cnf, kw)
566 def add(self, name, cnf={}, **kw):
569 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
591 def __init__ (self, master=None, cnf={}, **kw):
594 cnf, kw)
635 def __init__ (self, master=None, cnf={}, **kw):
636 TixWidget.__init__(self, master, 'tixControl', ['options'], cnf, kw)
666 def __init__(self, master, cnf={}, **kw):
667 TixWidget.__init__(self, master, 'tixDirList', ['options'], cnf, kw)
688 def __init__(self, master, cnf={}, **kw):
689 TixWidget.__init__(self, master, 'tixDirTree', ['options'], cnf, kw)
711 def __init__(self, master, cnf={}, **kw):
712 TixWidget.__init__(self, master, 'tixDirSelectBox', ['options'], cnf, kw)
731 def __init__(self, master, cnf={}, **kw):
732 TixWidget.__init__(self, master, 'tixExFileSelectBox', ['options'], cnf, kw)
760 def __init__(self, master, cnf={}, **kw):
762 ['options'], cnf, kw)
783 def __init__(self, master, cnf={}, **kw):
785 ['options'], cnf, kw)
808 def __init__(self, master, cnf={}, **kw):
809 TixWidget.__init__(self, master, 'tixFileSelectBox', ['options'], cnf, kw)
831 def __init__(self, master, cnf={}, **kw):
833 ['options'], cnf, kw)
855 def __init__(self, master, cnf={}, **kw):
857 ['dialogtype', 'options'], cnf, kw)
876 def __init__ (self,master=None,cnf={}, **kw):
878 ['columns', 'options'], cnf, kw)
880 def add(self, entry, cnf={}, **kw):
881 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
883 def add_child(self, parent=None, cnf={}, **kw):
887 self._w, 'addchild', parent, *self._options(cnf, kw))
926 def header_create(self, col, cnf={}, **kw):
927 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
929 def header_configure(self, col, cnf={}, **kw):
930 if cnf is None:
935 *self._options(cnf, kw))
952 def indicator_create(self, entry, cnf={}, **kw):
954 self._w, 'indicator', 'create', entry, *self._options(cnf, kw))
956 def indicator_configure(self, entry, cnf={}, **kw):
957 if cnf is None:
962 self._w, 'indicator', 'configure', entry, *self._options(cnf, kw))
1018 def item_configure(self, entry, col, cnf={}, **kw):
1019 if cnf is None:
1024 *self._options(cnf, kw))
1026 def item_create(self, entry, col, cnf={}, **kw):
1028 self._w, 'item', 'create', entry, col, *self._options(cnf, kw))
1039 def entryconfigure(self, entry, cnf={}, **kw):
1040 if cnf is None:
1045 *self._options(cnf, kw))
1053 def selection_clear(self, cnf={}, **kw):
1054 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1070 def __init__ (self,master=None,cnf={}, **kw):
1071 TixWidget.__init__(self, master, 'tixInputOnly', None, cnf, kw)
1083 def __init__ (self,master=None,cnf={}, **kw):
1085 ['labelside','options'], cnf, kw)
1100 def __init__ (self,master=None,cnf={}, **kw):
1102 ['labelside','options'], cnf, kw)
1115 def __init__(self, master, cnf={}, **kw):
1116 TixWidget.__init__(self, master, 'tixListNoteBook', ['options'], cnf, kw)
1123 def add(self, name, cnf={}, **kw):
1124 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1147 def __init__(self, master=None, cnf={}, **kw):
1149 ['options'], cnf, kw)
1159 def __init__ (self,master=None,cnf={}, **kw):
1160 TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw)
1164 def add(self, name, cnf={}, **kw):
1165 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1203 def __init__(self, master, cnf={}, **kw):
1205 ['labelside', 'options'], cnf, kw)
1209 def add_command(self, name, cnf={}, **kw):
1210 self.tk.call(self._w, 'add', 'command', name, *self._options(cnf, kw))
1212 def add_separator(self, name, cnf={}, **kw):
1213 self.tk.call(self._w, 'add', 'separator', name, *self._options(cnf, kw))
1235 def __init__(self, master, cnf={}, **kw):
1236 TixWidget.__init__(self, master, 'tixPanedWindow', ['orientation', 'options'], cnf, kw)
1239 def add(self, name, cnf={}, **kw):
1240 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1256 def paneconfigure(self, entry, cnf={}, **kw):
1257 if cnf is None:
1261 self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
1279 def __init__(self, master, cnf={}, **kw):
1280 TixWidget.__init__(self, master, 'tixPopupMenu', ['options'], cnf, kw)
1295 def __init__(self, master, cnf={}, **kw):
1303 flags, cnf, kw)
1321 def __init__(self, master, cnf={}, **kw):
1323 cnf, kw)
1332 def __init__(self, master, cnf={}, **kw):
1333 TixWidget.__init__(self, master, 'tixScrolledListBox', ['options'], cnf, kw)
1342 def __init__(self, master, cnf={}, **kw):
1343 TixWidget.__init__(self, master, 'tixScrolledText', ['options'], cnf, kw)
1352 def __init__(self, master, cnf={}, **kw):
1354 cnf, kw)
1363 def __init__(self, master, cnf={}, **kw):
1364 TixWidget.__init__(self, master, 'tixScrolledWindow', ['options'], cnf, kw)
1376 def __init__(self, master, cnf={}, **kw):
1380 cnf, kw)
1383 def add(self, name, cnf={}, **kw):
1384 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1396 def __init__ (self,master=None,cnf={}, **kw):
1397 TixWidget.__init__(self, master, 'tixShell', ['options', 'title'], cnf, kw)
1408 def __init__ (self,master=None,cnf={}, **kw):
1413 'parent', 'transient'], cnf, kw)
1427 def __init__(self, master=None, cnf={}, **kw):
1429 ['orientation', 'options'], cnf, kw)
1449 def __init__ (self,master=None,cnf={}, **kw):
1450 TixWidget.__init__(self, master, 'tixTList', ['options'], cnf, kw)
1479 def insert(self, index, cnf={}, **kw):
1480 self.tk.call(self._w, 'insert', index, *self._options(cnf, kw))
1513 def selection_clear(self, cnf={}, **kw):
1514 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1528 def __init__(self, master=None, cnf={}, **kw):
1530 ['options'], cnf, kw)
1575 def __init__(self, master=None, cnf={}, **kw):
1577 ['options', 'radio'], cnf, kw)
1809 def __init__(self, master=None, cnf={}, **kw):
1811 self.cnf= cnf
1812 TixWidget.__init__(self, master, 'tixGrid', static, cnf, kw)
1862 def entryconfigure(self, x, y, cnf=None, **kw):
1863 return self._configure(('entryconfigure', x, y), cnf, kw)
1899 args= self._options(self.cnf, kw)
1964 def __init__(self, master=None, cnf={}, **kw):
1966 self.cnf= cnf
1967 TixWidget.__init__(self, master, 'tixScrolledGrid', static, cnf, kw)