Lines Matching refs:self
86 def tix_addbitmapdir(self, directory): argument
96 return self.tk.call('tix', 'addbitmapdir', directory)
98 def tix_cget(self, option): argument
103 return self.tk.call('tix', 'cget', option)
105 def tix_configure(self, cnf=None, **kw): argument
122 return self._getconfigure('tix', 'configure')
124 return self._getconfigure1('tix', 'configure', '-'+cnf)
125 return self.tk.call(('tix', 'configure') + self._options(cnf))
127 def tix_filedialog(self, dlgclass=None): argument
137 return self.tk.call('tix', 'filedialog', dlgclass)
139 return self.tk.call('tix', 'filedialog')
141 def tix_getbitmap(self, name): argument
150 return self.tk.call('tix', 'getbitmap', name)
152 def tix_getimage(self, name): argument
164 return self.tk.call('tix', 'getimage', name)
166 def tix_option_get(self, name): argument
181 return self.tk.call('tix', 'option', 'get', name)
183 def tix_resetoptions(self, newScheme, newFontSet, newScmPrio=None): argument
199 return self.tk.call('tix', 'resetoptions', newScheme, newFontSet, newScmPrio)
201 return self.tk.call('tix', 'resetoptions', newScheme, newFontSet)
206 def __init__(self, screenName=None, baseName=None, className='Tix'): argument
207 Tkinter.Tk.__init__(self, screenName, baseName, className)
209 self.tk.eval('global auto_path; lappend auto_path [file dir [info nameof]]')
211 self.tk.eval('global auto_path; lappend auto_path {%s}' % tixlib)
212 self.tk.eval('global tcl_pkgPath; lappend tcl_pkgPath {%s}' % tixlib)
218 self.tk.eval('package require Tix')
220 def destroy(self): argument
222 self.protocol("WM_DELETE_WINDOW", "")
223 Tkinter.Tk.destroy(self)
232 def config(self, cnf={}, **kw): argument
233 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
237 def __setitem__(self, key, value): argument
238 Form.form(self, {key: value})
240 def check(self): argument
241 return self.tk.call('tixForm', 'check', self._w)
243 def forget(self): argument
244 self.tk.call('tixForm', 'forget', self._w)
246 def grid(self, xsize=0, ysize=0): argument
248 x = self.tk.call('tixForm', 'grid', self._w)
249 y = self.tk.splitlist(x)
252 z = z + (self.tk.getint(x),)
254 return self.tk.call('tixForm', 'grid', self._w, xsize, ysize)
256 def info(self, option=None): argument
258 return self.tk.call('tixForm', 'info', self._w)
261 return self.tk.call('tixForm', 'info', self._w, option)
263 def slaves(self): argument
264 return map(self._nametowidget,
265 self.tk.splitlist(
266 self.tk.call(
267 'tixForm', 'slaves', self._w)))
286 def __init__ (self, master=None, widgetName=None, argument
309 self.widgetName = widgetName
310 Widget._setup(self, master, cnf)
315 self.tk.call(widgetName, self._w, *extra)
319 Widget.config(self, cnf)
324 self.subwidget_list = {}
331 def __getattr__(self, name): argument
332 if name in self.subwidget_list:
333 return self.subwidget_list[name]
336 def set_silent(self, value): argument
338 self.tk.call('tixSetSilent', self._w, value)
340 def subwidget(self, name): argument
343 n = self._subwidget_name(name)
345 raise TclError, "Subwidget " + name + " not child of " + self._name
347 n = n[len(self._w)+1:]
348 return self._nametowidget(n)
350 def subwidgets_all(self): argument
352 names = self._subwidget_names()
357 name = name[len(self._w)+1:]
359 retlist.append(self._nametowidget(name))
365 def _subwidget_name(self,name): argument
368 return self.tk.call(self._w, 'subwidget', name)
372 def _subwidget_names(self): argument
375 x = self.tk.call(self._w, 'subwidgets', '-all')
376 return self.tk.splitlist(x)
380 def config_all(self, option, value): argument
388 names = self._subwidget_names()
390 self.tk.call(name, 'configure', '-' + option, value)
392 def image_create(self, imgtype, cnf={}, master=None, **kw): argument
402 v = self._register(v)
405 def image_delete(self, imgname): argument
407 self.tk.call('image', 'delete', imgname)
422 def __init__(self, master, name, argument
434 TixWidget.__init__(self, master, None, None, {'name' : name})
451 TixWidget.__init__(self, parent, None, None, {'name' : name})
452 self.destroy_physically = destroy_physically
454 def destroy(self): argument
459 for c in self.children.values(): c.destroy()
460 if self._name in self.master.children:
461 del self.master.children[self._name]
462 if self._name in self.master.subwidget_list:
463 del self.master.subwidget_list[self._name]
464 if self.destroy_physically:
466 self.tk.call('destroy', self._w)
475 def __init__(self, itemtype, cnf={}, **kw): argument
484 self.tk = master.tk
485 self.stylename = self.tk.call('tixDisplayStyle', itemtype,
486 *self._options(cnf,kw) )
488 def __str__(self): argument
489 return self.stylename
491 def _options(self, cnf, kw): argument
501 def delete(self): argument
502 self.tk.call(self.stylename, 'delete')
504 def __setitem__(self,key,value): argument
505 self.tk.call(self.stylename, 'configure', '-%s'%key, value)
507 def config(self, cnf={}, **kw): argument
508 return self._getconfigure(
509 self.stylename, 'configure', *self._options(cnf,kw))
511 def __getitem__(self,key): argument
512 return self.tk.call(self.stylename, 'cget', '-%s'%key)
528 def __init__(self, master=None, cnf={}, **kw): argument
532 TixWidget.__init__(self, master, 'tixBalloon', static, cnf, kw)
533 self.subwidget_list['label'] = _dummyLabel(self, 'label',
535 self.subwidget_list['message'] = _dummyLabel(self, 'message',
538 def bind_widget(self, widget, cnf={}, **kw): argument
541 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
543 def unbind_widget(self, widget): argument
544 self.tk.call(self._w, 'unbind', widget._w)
550 def __init__(self, master=None, cnf={}, **kw): argument
551 TixWidget.__init__(self, master, 'tixButtonBox',
554 def add(self, name, cnf={}, **kw): argument
557 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
558 self.subwidget_list[name] = _dummyButton(self, name)
561 def invoke(self, name): argument
562 if name in self.subwidget_list:
563 self.tk.call(self._w, 'invoke', name)
579 def __init__ (self, master=None, cnf={}, **kw): argument
580 TixWidget.__init__(self, master, 'tixComboBox',
583 self.subwidget_list['label'] = _dummyLabel(self, 'label')
584 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
585 self.subwidget_list['arrow'] = _dummyButton(self, 'arrow')
586 self.subwidget_list['slistbox'] = _dummyScrolledListBox(self,
589 self.subwidget_list['tick'] = _dummyButton(self, 'tick')
590 self.subwidget_list['cross'] = _dummyButton(self, 'cross')
597 def add_history(self, str): argument
598 self.tk.call(self._w, 'addhistory', str)
600 def append_history(self, str): argument
601 self.tk.call(self._w, 'appendhistory', str)
603 def insert(self, index, str): argument
604 self.tk.call(self._w, 'insert', index, str)
606 def pick(self, index): argument
607 self.tk.call(self._w, 'pick', index)
623 def __init__ (self, master=None, cnf={}, **kw): argument
624 TixWidget.__init__(self, master, 'tixControl', ['options'], cnf, kw)
625 self.subwidget_list['incr'] = _dummyButton(self, 'incr')
626 self.subwidget_list['decr'] = _dummyButton(self, 'decr')
627 self.subwidget_list['label'] = _dummyLabel(self, 'label')
628 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
630 def decrement(self): argument
631 self.tk.call(self._w, 'decr')
633 def increment(self): argument
634 self.tk.call(self._w, 'incr')
636 def invoke(self): argument
637 self.tk.call(self._w, 'invoke')
639 def update(self): argument
640 self.tk.call(self._w, 'update')
654 def __init__(self, master, cnf={}, **kw): argument
655 TixWidget.__init__(self, master, 'tixDirList', ['options'], cnf, kw)
656 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
657 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
658 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
660 def chdir(self, dir): argument
661 self.tk.call(self._w, 'chdir', dir)
676 def __init__(self, master, cnf={}, **kw): argument
677 TixWidget.__init__(self, master, 'tixDirTree', ['options'], cnf, kw)
678 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
679 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
680 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
682 def chdir(self, dir): argument
683 self.tk.call(self._w, 'chdir', dir)
699 def __init__(self, master, cnf={}, **kw): argument
700 TixWidget.__init__(self, master, 'tixDirSelectBox', ['options'], cnf, kw)
701 self.subwidget_list['dirlist'] = _dummyDirList(self, 'dirlist')
702 self.subwidget_list['dircbx'] = _dummyFileComboBox(self, 'dircbx')
719 def __init__(self, master, cnf={}, **kw): argument
720 TixWidget.__init__(self, master, 'tixExFileSelectBox', ['options'], cnf, kw)
721 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
722 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
723 self.subwidget_list['hidden'] = _dummyCheckbutton(self, 'hidden')
724 self.subwidget_list['types'] = _dummyComboBox(self, 'types')
725 self.subwidget_list['dir'] = _dummyComboBox(self, 'dir')
726 self.subwidget_list['dirlist'] = _dummyDirList(self, 'dirlist')
727 self.subwidget_list['file'] = _dummyComboBox(self, 'file')
728 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
730 def filter(self): argument
731 self.tk.call(self._w, 'filter')
733 def invoke(self): argument
734 self.tk.call(self._w, 'invoke')
748 def __init__(self, master, cnf={}, **kw): argument
749 TixWidget.__init__(self, master, 'tixDirSelectDialog',
751 self.subwidget_list['dirbox'] = _dummyDirSelectBox(self, 'dirbox')
754 def popup(self): argument
755 self.tk.call(self._w, 'popup')
757 def popdown(self): argument
758 self.tk.call(self._w, 'popdown')
771 def __init__(self, master, cnf={}, **kw): argument
772 TixWidget.__init__(self, master, 'tixExFileSelectDialog',
774 self.subwidget_list['fsbox'] = _dummyExFileSelectBox(self, 'fsbox')
776 def popup(self): argument
777 self.tk.call(self._w, 'popup')
779 def popdown(self): argument
780 self.tk.call(self._w, 'popdown')
796 def __init__(self, master, cnf={}, **kw): argument
797 TixWidget.__init__(self, master, 'tixFileSelectBox', ['options'], cnf, kw)
798 self.subwidget_list['dirlist'] = _dummyScrolledListBox(self, 'dirlist')
799 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
800 self.subwidget_list['filter'] = _dummyComboBox(self, 'filter')
801 self.subwidget_list['selection'] = _dummyComboBox(self, 'selection')
803 def apply_filter(self): # name of subwidget is same as command argument
804 self.tk.call(self._w, 'filter')
806 def invoke(self): argument
807 self.tk.call(self._w, 'invoke')
819 def __init__(self, master, cnf={}, **kw): argument
820 TixWidget.__init__(self, master, 'tixFileSelectDialog',
822 self.subwidget_list['btns'] = _dummyStdButtonBox(self, 'btns')
823 self.subwidget_list['fsbox'] = _dummyFileSelectBox(self, 'fsbox')
825 def popup(self): argument
826 self.tk.call(self._w, 'popup')
828 def popdown(self): argument
829 self.tk.call(self._w, 'popdown')
843 def __init__(self, master, cnf={}, **kw): argument
844 TixWidget.__init__(self, master, 'tixFileEntry',
846 self.subwidget_list['button'] = _dummyButton(self, 'button')
847 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
849 def invoke(self): argument
850 self.tk.call(self._w, 'invoke')
852 def file_dialog(self): argument
864 def __init__ (self,master=None,cnf={}, **kw): argument
865 TixWidget.__init__(self, master, 'tixHList',
868 def add(self, entry, cnf={}, **kw): argument
869 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
871 def add_child(self, parent=None, cnf={}, **kw): argument
874 return self.tk.call(
875 self._w, 'addchild', parent, *self._options(cnf, kw))
877 def anchor_set(self, entry): argument
878 self.tk.call(self._w, 'anchor', 'set', entry)
880 def anchor_clear(self): argument
881 self.tk.call(self._w, 'anchor', 'clear')
883 def column_width(self, col=0, width=None, chars=None): argument
885 return self.tk.call(self._w, 'column', 'width', col, width)
887 return self.tk.call(self._w, 'column', 'width', col,
890 def delete_all(self): argument
891 self.tk.call(self._w, 'delete', 'all')
893 def delete_entry(self, entry): argument
894 self.tk.call(self._w, 'delete', 'entry', entry)
896 def delete_offsprings(self, entry): argument
897 self.tk.call(self._w, 'delete', 'offsprings', entry)
899 def delete_siblings(self, entry): argument
900 self.tk.call(self._w, 'delete', 'siblings', entry)
902 def dragsite_set(self, index): argument
903 self.tk.call(self._w, 'dragsite', 'set', index)
905 def dragsite_clear(self): argument
906 self.tk.call(self._w, 'dragsite', 'clear')
908 def dropsite_set(self, index): argument
909 self.tk.call(self._w, 'dropsite', 'set', index)
911 def dropsite_clear(self): argument
912 self.tk.call(self._w, 'dropsite', 'clear')
914 def header_create(self, col, cnf={}, **kw): argument
915 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
917 def header_configure(self, col, cnf={}, **kw): argument
919 return self._getconfigure(self._w, 'header', 'configure', col)
920 self.tk.call(self._w, 'header', 'configure', col,
921 *self._options(cnf, kw))
923 def header_cget(self, col, opt): argument
924 return self.tk.call(self._w, 'header', 'cget', col, opt)
926 def header_exists(self, col): argument
930 return self.tk.getboolean(self.tk.call(self._w, 'header', 'exist', col))
933 def header_delete(self, col): argument
934 self.tk.call(self._w, 'header', 'delete', col)
936 def header_size(self, col): argument
937 return self.tk.call(self._w, 'header', 'size', col)
939 def hide_entry(self, entry): argument
940 self.tk.call(self._w, 'hide', 'entry', entry)
942 def indicator_create(self, entry, cnf={}, **kw): argument
943 self.tk.call(
944 self._w, 'indicator', 'create', entry, *self._options(cnf, kw))
946 def indicator_configure(self, entry, cnf={}, **kw): argument
948 return self._getconfigure(
949 self._w, 'indicator', 'configure', entry)
950 self.tk.call(
951 self._w, 'indicator', 'configure', entry, *self._options(cnf, kw))
953 def indicator_cget(self, entry, opt): argument
954 return self.tk.call(self._w, 'indicator', 'cget', entry, opt)
956 def indicator_exists(self, entry): argument
957 return self.tk.call (self._w, 'indicator', 'exists', entry)
959 def indicator_delete(self, entry): argument
960 self.tk.call(self._w, 'indicator', 'delete', entry)
962 def indicator_size(self, entry): argument
963 return self.tk.call(self._w, 'indicator', 'size', entry)
965 def info_anchor(self): argument
966 return self.tk.call(self._w, 'info', 'anchor')
968 def info_bbox(self, entry): argument
969 return self._getints(
970 self.tk.call(self._w, 'info', 'bbox', entry)) or None
972 def info_children(self, entry=None): argument
973 c = self.tk.call(self._w, 'info', 'children', entry)
974 return self.tk.splitlist(c)
976 def info_data(self, entry): argument
977 return self.tk.call(self._w, 'info', 'data', entry)
979 def info_dragsite(self): argument
980 return self.tk.call(self._w, 'info', 'dragsite')
982 def info_dropsite(self): argument
983 return self.tk.call(self._w, 'info', 'dropsite')
985 def info_exists(self, entry): argument
986 return self.tk.call(self._w, 'info', 'exists', entry)
988 def info_hidden(self, entry): argument
989 return self.tk.call(self._w, 'info', 'hidden', entry)
991 def info_next(self, entry): argument
992 return self.tk.call(self._w, 'info', 'next', entry)
994 def info_parent(self, entry): argument
995 return self.tk.call(self._w, 'info', 'parent', entry)
997 def info_prev(self, entry): argument
998 return self.tk.call(self._w, 'info', 'prev', entry)
1000 def info_selection(self): argument
1001 c = self.tk.call(self._w, 'info', 'selection')
1002 return self.tk.splitlist(c)
1004 def item_cget(self, entry, col, opt): argument
1005 return self.tk.call(self._w, 'item', 'cget', entry, col, opt)
1007 def item_configure(self, entry, col, cnf={}, **kw): argument
1009 return self._getconfigure(self._w, 'item', 'configure', entry, col)
1010 self.tk.call(self._w, 'item', 'configure', entry, col,
1011 *self._options(cnf, kw))
1013 def item_create(self, entry, col, cnf={}, **kw): argument
1014 self.tk.call(
1015 self._w, 'item', 'create', entry, col, *self._options(cnf, kw))
1017 def item_exists(self, entry, col): argument
1018 return self.tk.call(self._w, 'item', 'exists', entry, col)
1020 def item_delete(self, entry, col): argument
1021 self.tk.call(self._w, 'item', 'delete', entry, col)
1023 def entrycget(self, entry, opt): argument
1024 return self.tk.call(self._w, 'entrycget', entry, opt)
1026 def entryconfigure(self, entry, cnf={}, **kw): argument
1028 return self._getconfigure(self._w, 'entryconfigure', entry)
1029 self.tk.call(self._w, 'entryconfigure', entry,
1030 *self._options(cnf, kw))
1032 def nearest(self, y): argument
1033 return self.tk.call(self._w, 'nearest', y)
1035 def see(self, entry): argument
1036 self.tk.call(self._w, 'see', entry)
1038 def selection_clear(self, cnf={}, **kw): argument
1039 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1041 def selection_includes(self, entry): argument
1042 return self.tk.call(self._w, 'selection', 'includes', entry)
1044 def selection_set(self, first, last=None): argument
1045 self.tk.call(self._w, 'selection', 'set', first, last)
1047 def show_entry(self, entry): argument
1048 return self.tk.call(self._w, 'show', 'entry', entry)
1055 def __init__ (self,master=None,cnf={}, **kw): argument
1056 TixWidget.__init__(self, master, 'tixInputOnly', None, cnf, kw)
1068 def __init__ (self,master=None,cnf={}, **kw): argument
1069 TixWidget.__init__(self, master, 'tixLabelEntry',
1071 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1072 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
1085 def __init__ (self,master=None,cnf={}, **kw): argument
1086 TixWidget.__init__(self, master, 'tixLabelFrame',
1088 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1089 self.subwidget_list['frame'] = _dummyFrame(self, 'frame')
1100 def __init__(self, master, cnf={}, **kw): argument
1101 TixWidget.__init__(self, master, 'tixListNoteBook', ['options'], cnf, kw)
1103 self.subwidget_list['pane'] = _dummyPanedWindow(self, 'pane',
1105 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1106 self.subwidget_list['shlist'] = _dummyScrolledHList(self, 'shlist')
1108 def add(self, name, cnf={}, **kw): argument
1109 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1110 self.subwidget_list[name] = TixSubWidget(self, name)
1111 return self.subwidget_list[name]
1113 def page(self, name): argument
1114 return self.subwidget(name)
1116 def pages(self): argument
1118 names = self.tk.split(self.tk.call(self._w, 'pages'))
1121 ret.append(self.subwidget(x))
1124 def raise_page(self, name): # raise is a python keyword argument
1125 self.tk.call(self._w, 'raise', name)
1132 def __init__(self, master=None, cnf={}, **kw): argument
1133 TixWidget.__init__(self, master, 'tixMeter',
1144 def __init__ (self,master=None,cnf={}, **kw): argument
1145 TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw)
1146 self.subwidget_list['nbframe'] = TixSubWidget(self, 'nbframe',
1149 def add(self, name, cnf={}, **kw): argument
1150 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1151 self.subwidget_list[name] = TixSubWidget(self, name)
1152 return self.subwidget_list[name]
1154 def delete(self, name): argument
1155 self.tk.call(self._w, 'delete', name)
1156 self.subwidget_list[name].destroy()
1157 del self.subwidget_list[name]
1159 def page(self, name): argument
1160 return self.subwidget(name)
1162 def pages(self): argument
1164 names = self.tk.split(self.tk.call(self._w, 'pages'))
1167 ret.append(self.subwidget(x))
1170 def raise_page(self, name): # raise is a python keyword argument
1171 self.tk.call(self._w, 'raise', name)
1173 def raised(self): argument
1174 return self.tk.call(self._w, 'raised')
1188 def __init__(self, master, cnf={}, **kw): argument
1189 TixWidget.__init__(self, master, 'tixOptionMenu',
1191 self.subwidget_list['menubutton'] = _dummyMenubutton(self, 'menubutton')
1192 self.subwidget_list['menu'] = _dummyMenu(self, 'menu')
1194 def add_command(self, name, cnf={}, **kw): argument
1195 self.tk.call(self._w, 'add', 'command', name, *self._options(cnf, kw))
1197 def add_separator(self, name, cnf={}, **kw): argument
1198 self.tk.call(self._w, 'add', 'separator', name, *self._options(cnf, kw))
1200 def delete(self, name): argument
1201 self.tk.call(self._w, 'delete', name)
1203 def disable(self, name): argument
1204 self.tk.call(self._w, 'disable', name)
1206 def enable(self, name): argument
1207 self.tk.call(self._w, 'enable', name)
1220 def __init__(self, master, cnf={}, **kw): argument
1221 TixWidget.__init__(self, master, 'tixPanedWindow', ['orientation', 'options'], cnf, kw)
1224 def add(self, name, cnf={}, **kw): argument
1225 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1226 self.subwidget_list[name] = TixSubWidget(self, name,
1228 return self.subwidget_list[name]
1230 def delete(self, name): argument
1231 self.tk.call(self._w, 'delete', name)
1232 self.subwidget_list[name].destroy()
1233 del self.subwidget_list[name]
1235 def forget(self, name): argument
1236 self.tk.call(self._w, 'forget', name)
1238 def panecget(self, entry, opt): argument
1239 return self.tk.call(self._w, 'panecget', entry, opt)
1241 def paneconfigure(self, entry, cnf={}, **kw): argument
1243 return self._getconfigure(self._w, 'paneconfigure', entry)
1244 self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
1246 def panes(self): argument
1247 names = self.tk.splitlist(self.tk.call(self._w, 'panes'))
1248 return [self.subwidget(x) for x in names]
1262 def __init__(self, master, cnf={}, **kw): argument
1263 TixWidget.__init__(self, master, 'tixPopupMenu', ['options'], cnf, kw)
1264 self.subwidget_list['menubutton'] = _dummyMenubutton(self, 'menubutton')
1265 self.subwidget_list['menu'] = _dummyMenu(self, 'menu')
1267 def bind_widget(self, widget): argument
1268 self.tk.call(self._w, 'bind', widget._w)
1270 def unbind_widget(self, widget): argument
1271 self.tk.call(self._w, 'unbind', widget._w)
1273 def post_widget(self, widget, x, y): argument
1274 self.tk.call(self._w, 'post', widget._w, x, y)
1278 def __init__(self, master, cnf={}, **kw): argument
1285 TixWidget.__init__(self, master, 'tixResizeHandle',
1288 def attach_widget(self, widget): argument
1289 self.tk.call(self._w, 'attachwidget', widget._w)
1291 def detach_widget(self, widget): argument
1292 self.tk.call(self._w, 'detachwidget', widget._w)
1294 def hide(self, widget): argument
1295 self.tk.call(self._w, 'hide', widget._w)
1297 def show(self, widget): argument
1298 self.tk.call(self._w, 'show', widget._w)
1304 def __init__(self, master, cnf={}, **kw): argument
1305 TixWidget.__init__(self, master, 'tixScrolledHList', ['options'],
1307 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1308 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1309 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1315 def __init__(self, master, cnf={}, **kw): argument
1316 TixWidget.__init__(self, master, 'tixScrolledListBox', ['options'], cnf, kw)
1317 self.subwidget_list['listbox'] = _dummyListbox(self, 'listbox')
1318 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1319 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1325 def __init__(self, master, cnf={}, **kw): argument
1326 TixWidget.__init__(self, master, 'tixScrolledText', ['options'], cnf, kw)
1327 self.subwidget_list['text'] = _dummyText(self, 'text')
1328 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1329 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1335 def __init__(self, master, cnf={}, **kw): argument
1336 TixWidget.__init__(self, master, 'tixScrolledTList', ['options'],
1338 self.subwidget_list['tlist'] = _dummyTList(self, 'tlist')
1339 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1340 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1346 def __init__(self, master, cnf={}, **kw): argument
1347 TixWidget.__init__(self, master, 'tixScrolledWindow', ['options'], cnf, kw)
1348 self.subwidget_list['window'] = _dummyFrame(self, 'window')
1349 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1350 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1359 def __init__(self, master, cnf={}, **kw): argument
1360 TixWidget.__init__(self, master, 'tixSelect',
1364 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1366 def add(self, name, cnf={}, **kw): argument
1367 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1368 self.subwidget_list[name] = _dummyButton(self, name)
1369 return self.subwidget_list[name]
1371 def invoke(self, name): argument
1372 self.tk.call(self._w, 'invoke', name)
1379 def __init__ (self,master=None,cnf={}, **kw): argument
1380 TixWidget.__init__(self, master, 'tixShell', ['options', 'title'], cnf, kw)
1391 def __init__ (self,master=None,cnf={}, **kw): argument
1392 TixWidget.__init__(self, master,
1398 def popdown(self): argument
1399 self.tk.call(self._w, 'popdown')
1401 def popup(self): argument
1402 self.tk.call(self._w, 'popup')
1404 def center(self): argument
1405 self.tk.call(self._w, 'center')
1410 def __init__(self, master=None, cnf={}, **kw): argument
1411 TixWidget.__init__(self, master, 'tixStdButtonBox',
1413 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
1414 self.subwidget_list['apply'] = _dummyButton(self, 'apply')
1415 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
1416 self.subwidget_list['help'] = _dummyButton(self, 'help')
1418 def invoke(self, name): argument
1419 if name in self.subwidget_list:
1420 self.tk.call(self._w, 'invoke', name)
1432 def __init__ (self,master=None,cnf={}, **kw): argument
1433 TixWidget.__init__(self, master, 'tixTList', ['options'], cnf, kw)
1435 def active_set(self, index): argument
1436 self.tk.call(self._w, 'active', 'set', index)
1438 def active_clear(self): argument
1439 self.tk.call(self._w, 'active', 'clear')
1441 def anchor_set(self, index): argument
1442 self.tk.call(self._w, 'anchor', 'set', index)
1444 def anchor_clear(self): argument
1445 self.tk.call(self._w, 'anchor', 'clear')
1447 def delete(self, from_, to=None): argument
1448 self.tk.call(self._w, 'delete', from_, to)
1450 def dragsite_set(self, index): argument
1451 self.tk.call(self._w, 'dragsite', 'set', index)
1453 def dragsite_clear(self): argument
1454 self.tk.call(self._w, 'dragsite', 'clear')
1456 def dropsite_set(self, index): argument
1457 self.tk.call(self._w, 'dropsite', 'set', index)
1459 def dropsite_clear(self): argument
1460 self.tk.call(self._w, 'dropsite', 'clear')
1462 def insert(self, index, cnf={}, **kw): argument
1463 self.tk.call(self._w, 'insert', index, *self._options(cnf, kw))
1465 def info_active(self): argument
1466 return self.tk.call(self._w, 'info', 'active')
1468 def info_anchor(self): argument
1469 return self.tk.call(self._w, 'info', 'anchor')
1471 def info_down(self, index): argument
1472 return self.tk.call(self._w, 'info', 'down', index)
1474 def info_left(self, index): argument
1475 return self.tk.call(self._w, 'info', 'left', index)
1477 def info_right(self, index): argument
1478 return self.tk.call(self._w, 'info', 'right', index)
1480 def info_selection(self): argument
1481 c = self.tk.call(self._w, 'info', 'selection')
1482 return self.tk.splitlist(c)
1484 def info_size(self): argument
1485 return self.tk.call(self._w, 'info', 'size')
1487 def info_up(self, index): argument
1488 return self.tk.call(self._w, 'info', 'up', index)
1490 def nearest(self, x, y): argument
1491 return self.tk.call(self._w, 'nearest', x, y)
1493 def see(self, index): argument
1494 self.tk.call(self._w, 'see', index)
1496 def selection_clear(self, cnf={}, **kw): argument
1497 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1499 def selection_includes(self, index): argument
1500 return self.tk.call(self._w, 'selection', 'includes', index)
1502 def selection_set(self, first, last=None): argument
1503 self.tk.call(self._w, 'selection', 'set', first, last)
1511 def __init__(self, master=None, cnf={}, **kw): argument
1512 TixWidget.__init__(self, master, 'tixTree',
1514 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1515 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1516 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1518 def autosetmode(self): argument
1523 self.tk.call(self._w, 'autosetmode')
1525 def close(self, entrypath): argument
1527 self.tk.call(self._w, 'close', entrypath)
1529 def getmode(self, entrypath): argument
1531 return self.tk.call(self._w, 'getmode', entrypath)
1533 def open(self, entrypath): argument
1535 self.tk.call(self._w, 'open', entrypath)
1537 def setmode(self, entrypath, mode='none'): argument
1547 self.tk.call(self._w, 'setmode', entrypath, mode)
1558 def __init__(self, master=None, cnf={}, **kw): argument
1559 TixWidget.__init__(self, master, 'tixCheckList',
1561 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1562 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1563 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1565 def autosetmode(self): argument
1570 self.tk.call(self._w, 'autosetmode')
1572 def close(self, entrypath): argument
1574 self.tk.call(self._w, 'close', entrypath)
1576 def getmode(self, entrypath): argument
1578 return self.tk.call(self._w, 'getmode', entrypath)
1580 def open(self, entrypath): argument
1582 self.tk.call(self._w, 'open', entrypath)
1584 def getselection(self, mode='on'): argument
1588 c = self.tk.split(self.tk.call(self._w, 'getselection', mode))
1589 return self.tk.splitlist(c)
1591 def getstatus(self, entrypath): argument
1593 return self.tk.call(self._w, 'getstatus', entrypath)
1595 def setstatus(self, entrypath, mode='on'): argument
1598 self.tk.call(self._w, 'setstatus', entrypath, mode)
1607 def __init__(self, master, name, destroy_physically=1): argument
1608 TixSubWidget.__init__(self, master, name, destroy_physically)
1611 def __init__(self, master, name, destroy_physically=1): argument
1612 TixSubWidget.__init__(self, master, name, destroy_physically)
1615 def __init__(self, master, name, destroy_physically=1): argument
1616 TixSubWidget.__init__(self, master, name, destroy_physically)
1619 def __init__(self, master, name, destroy_physically=1): argument
1620 TixSubWidget.__init__(self, master, name, destroy_physically)
1623 def __init__(self, master, name, destroy_physically=1): argument
1624 TixSubWidget.__init__(self, master, name, destroy_physically)
1627 def __init__(self, master, name, destroy_physically=1): argument
1628 TixSubWidget.__init__(self, master, name, destroy_physically)
1631 def __init__(self, master, name, destroy_physically=1): argument
1632 TixSubWidget.__init__(self, master, name, destroy_physically)
1635 def __init__(self, master, name, destroy_physically=1): argument
1636 TixSubWidget.__init__(self, master, name, destroy_physically)
1639 def __init__(self, master, name, destroy_physically=1): argument
1640 TixSubWidget.__init__(self, master, name, destroy_physically)
1643 def __init__(self, master, name, destroy_physically=1): argument
1644 TixSubWidget.__init__(self, master, name, destroy_physically)
1647 def __init__(self, master, name, destroy_physically=1): argument
1648 TixSubWidget.__init__(self, master, name, destroy_physically)
1649 self.subwidget_list['listbox'] = _dummyListbox(self, 'listbox')
1650 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1651 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1654 def __init__(self, master, name, destroy_physically=1): argument
1655 TixSubWidget.__init__(self, master, name, destroy_physically)
1658 def __init__(self, master, name, destroy_physically=1): argument
1659 TixSubWidget.__init__(self, master, name, destroy_physically)
1660 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1661 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1662 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1665 def __init__(self, master, name, destroy_physically=1): argument
1666 TixSubWidget.__init__(self, master, name, destroy_physically)
1669 def __init__(self, master, name, destroy_physically=1): argument
1670 TixSubWidget.__init__(self, master, name, ['fancy',destroy_physically])
1671 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1672 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
1673 self.subwidget_list['arrow'] = _dummyButton(self, 'arrow')
1675 self.subwidget_list['slistbox'] = _dummyScrolledListBox(self,
1678 self.subwidget_list['tick'] = _dummyButton(self, 'tick')
1680 self.subwidget_list['cross'] = _dummyButton(self, 'cross')
1686 def __init__(self, master, name, destroy_physically=1): argument
1687 TixSubWidget.__init__(self, master, name, destroy_physically)
1688 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1689 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1690 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1693 def __init__(self, master, name, destroy_physically=1): argument
1694 TixSubWidget.__init__(self, master, name, destroy_physically)
1695 self.subwidget_list['dirlist'] = _dummyDirList(self, 'dirlist')
1696 self.subwidget_list['dircbx'] = _dummyFileComboBox(self, 'dircbx')
1699 def __init__(self, master, name, destroy_physically=1): argument
1700 TixSubWidget.__init__(self, master, name, destroy_physically)
1701 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
1702 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
1703 self.subwidget_list['hidden'] = _dummyCheckbutton(self, 'hidden')
1704 self.subwidget_list['types'] = _dummyComboBox(self, 'types')
1705 self.subwidget_list['dir'] = _dummyComboBox(self, 'dir')
1706 self.subwidget_list['dirlist'] = _dummyScrolledListBox(self, 'dirlist')
1707 self.subwidget_list['file'] = _dummyComboBox(self, 'file')
1708 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
1711 def __init__(self, master, name, destroy_physically=1): argument
1712 TixSubWidget.__init__(self, master, name, destroy_physically)
1713 self.subwidget_list['dirlist'] = _dummyScrolledListBox(self, 'dirlist')
1714 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
1715 self.subwidget_list['filter'] = _dummyComboBox(self, 'filter')
1716 self.subwidget_list['selection'] = _dummyComboBox(self, 'selection')
1719 def __init__(self, master, name, destroy_physically=1): argument
1720 TixSubWidget.__init__(self, master, name, destroy_physically)
1721 self.subwidget_list['dircbx'] = _dummyComboBox(self, 'dircbx')
1724 def __init__(self, master, name, destroy_physically=1): argument
1725 TixSubWidget.__init__(self, master, name, destroy_physically)
1726 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
1727 self.subwidget_list['apply'] = _dummyButton(self, 'apply')
1728 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
1729 self.subwidget_list['help'] = _dummyButton(self, 'help')
1732 def __init__(self, master, name, destroy_physically=0): argument
1733 TixSubWidget.__init__(self, master, name, destroy_physically)
1736 def __init__(self, master, name, destroy_physically=1): argument
1737 TixSubWidget.__init__(self, master, name, destroy_physically)
1792 def __init__(self, master=None, cnf={}, **kw): argument
1794 self.cnf= cnf
1795 TixWidget.__init__(self, master, 'tixGrid', static, cnf, kw)
1801 def anchor_clear(self): argument
1803 self.tk.call(self, 'anchor', 'clear')
1805 def anchor_get(self): argument
1807 return self._getints(self.tk.call(self, 'anchor', 'get'))
1809 def anchor_set(self, x, y): argument
1811 self.tk.call(self, 'anchor', 'set', x, y)
1813 def delete_row(self, from_, to=None): argument
1817 self.tk.call(self, 'delete', 'row', from_)
1819 self.tk.call(self, 'delete', 'row', from_, to)
1821 def delete_column(self, from_, to=None): argument
1825 self.tk.call(self, 'delete', 'column', from_)
1827 self.tk.call(self, 'delete', 'column', from_, to)
1829 def edit_apply(self): argument
1832 self.tk.call(self, 'edit', 'apply')
1834 def edit_set(self, x, y): argument
1837 self.tk.call(self, 'edit', 'set', x, y)
1839 def entrycget(self, x, y, option): argument
1843 return self.tk.call(self, 'entrycget', x, y, option)
1845 def entryconfigure(self, x, y, cnf=None, **kw): argument
1846 return self._configure(('entryconfigure', x, y), cnf, kw)
1851 def info_exists(self, x, y): argument
1853 return self._getboolean(self.tk.call(self, 'info', 'exists', x, y))
1855 def info_bbox(self, x, y): argument
1857 return self.tk.call(self, 'info', 'bbox', x, y)
1859 def move_column(self, from_, to, offset): argument
1863 self.tk.call(self, 'move', 'column', from_, to, offset)
1865 def move_row(self, from_, to, offset): argument
1869 self.tk.call(self, 'move', 'row', from_, to, offset)
1871 def nearest(self, x, y): argument
1873 return self._getints(self.tk.call(self, 'nearest', x, y))
1881 def set(self, x, y, itemtype=None, **kw): argument
1882 args= self._options(self.cnf, kw)
1885 self.tk.call(self, 'set', x, y, *args)
1887 def size_column(self, index, **kw): argument
1910 return self.tk.split(self.tk.call(self._w, 'size', 'column', index,
1911 *self._options({}, kw)))
1913 def size_row(self, index, **kw): argument
1935 return self.tk.split(self.tk.call(
1936 self, 'size', 'row', index, *self._options({}, kw)))
1938 def unset(self, x, y): argument
1940 self.tk.call(self._w, 'unset', x, y)
1947 def __init__(self, master=None, cnf={}, **kw): argument
1949 self.cnf= cnf
1950 TixWidget.__init__(self, master, 'tixScrolledGrid', static, cnf, kw)