• Home
  • Raw
  • Download

Lines Matching refs:self

82     def tix_addbitmapdir(self, directory):  argument
92 return self.tk.call('tix', 'addbitmapdir', directory)
94 def tix_cget(self, option): argument
99 return self.tk.call('tix', 'cget', option)
101 def tix_configure(self, cnf=None, **kw): argument
118 return self._getconfigure('tix', 'configure')
120 return self._getconfigure1('tix', 'configure', '-'+cnf)
121 return self.tk.call(('tix', 'configure') + self._options(cnf))
123 def tix_filedialog(self, dlgclass=None): argument
133 return self.tk.call('tix', 'filedialog', dlgclass)
135 return self.tk.call('tix', 'filedialog')
137 def tix_getbitmap(self, name): argument
146 return self.tk.call('tix', 'getbitmap', name)
148 def tix_getimage(self, name): argument
160 return self.tk.call('tix', 'getimage', name)
162 def tix_option_get(self, name): argument
177 return self.tk.call('tix', 'option', 'get', name)
179 def tix_resetoptions(self, newScheme, newFontSet, newScmPrio=None): argument
195 return self.tk.call('tix', 'resetoptions', newScheme, newFontSet, newScmPrio)
197 return self.tk.call('tix', 'resetoptions', newScheme, newFontSet)
202 def __init__(self, screenName=None, baseName=None, className='Tix'): argument
203 tkinter.Tk.__init__(self, screenName, baseName, className)
205 self.tk.eval('global auto_path; lappend auto_path [file dir [info nameof]]')
207 self.tk.eval('global auto_path; lappend auto_path {%s}' % tixlib)
208 self.tk.eval('global tcl_pkgPath; lappend tcl_pkgPath {%s}' % tixlib)
214 self.tk.eval('package require Tix')
216 def destroy(self): argument
218 self.protocol("WM_DELETE_WINDOW", "")
219 tkinter.Tk.destroy(self)
228 def config(self, cnf={}, **kw): argument
229 self.tk.call('tixForm', self._w, *self._options(cnf, kw))
233 def __setitem__(self, key, value): argument
234 Form.form(self, {key: value})
236 def check(self): argument
237 return self.tk.call('tixForm', 'check', self._w)
239 def forget(self): argument
240 self.tk.call('tixForm', 'forget', self._w)
242 def grid(self, xsize=0, ysize=0): argument
244 x = self.tk.call('tixForm', 'grid', self._w)
245 y = self.tk.splitlist(x)
248 z = z + (self.tk.getint(x),)
250 return self.tk.call('tixForm', 'grid', self._w, xsize, ysize)
252 def info(self, option=None): argument
254 return self.tk.call('tixForm', 'info', self._w)
257 return self.tk.call('tixForm', 'info', self._w, option)
259 def slaves(self): argument
260 return [self._nametowidget(x) for x in
261 self.tk.splitlist(
262 self.tk.call(
263 'tixForm', 'slaves', self._w))]
282 def __init__ (self, master=None, widgetName=None, argument
305 self.widgetName = widgetName
306 Widget._setup(self, master, cnf)
311 self.tk.call(widgetName, self._w, *extra)
315 Widget.config(self, cnf)
320 self.subwidget_list = {}
327 def __getattr__(self, name): argument
328 if name in self.subwidget_list:
329 return self.subwidget_list[name]
332 def set_silent(self, value): argument
334 self.tk.call('tixSetSilent', self._w, value)
336 def subwidget(self, name): argument
339 n = self._subwidget_name(name)
341 raise TclError("Subwidget " + name + " not child of " + self._name)
343 n = n[len(self._w)+1:]
344 return self._nametowidget(n)
346 def subwidgets_all(self): argument
348 names = self._subwidget_names()
353 name = name[len(self._w)+1:]
355 retlist.append(self._nametowidget(name))
361 def _subwidget_name(self,name): argument
364 return self.tk.call(self._w, 'subwidget', name)
368 def _subwidget_names(self): argument
371 x = self.tk.call(self._w, 'subwidgets', '-all')
372 return self.tk.splitlist(x)
376 def config_all(self, option, value): argument
384 names = self._subwidget_names()
386 self.tk.call(name, 'configure', '-' + option, value)
388 def image_create(self, imgtype, cnf={}, master=None, **kw): argument
390 master = self
396 v = self._register(v)
399 def image_delete(self, imgname): argument
401 self.tk.call('image', 'delete', imgname)
416 def __init__(self, master, name, argument
428 TixWidget.__init__(self, master, None, None, {'name' : name})
445 TixWidget.__init__(self, parent, None, None, {'name' : name})
446 self.destroy_physically = destroy_physically
448 def destroy(self): argument
453 for c in list(self.children.values()): c.destroy()
454 if self._name in self.master.children:
455 del self.master.children[self._name]
456 if self._name in self.master.subwidget_list:
457 del self.master.subwidget_list[self._name]
458 if self.destroy_physically:
460 self.tk.call('destroy', self._w)
469 def __init__(self, itemtype, cnf={}, *, master=None, **kw): argument
477 self.tk = master.tk
478 self.stylename = self.tk.call('tixDisplayStyle', itemtype,
479 *self._options(cnf,kw) )
481 def __str__(self): argument
482 return self.stylename
484 def _options(self, cnf, kw): argument
494 def delete(self): argument
495 self.tk.call(self.stylename, 'delete')
497 def __setitem__(self,key,value): argument
498 self.tk.call(self.stylename, 'configure', '-%s'%key, value)
500 def config(self, cnf={}, **kw): argument
501 return self._getconfigure(
502 self.stylename, 'configure', *self._options(cnf,kw))
504 def __getitem__(self,key): argument
505 return self.tk.call(self.stylename, 'cget', '-%s'%key)
521 def __init__(self, master=None, cnf={}, **kw): argument
525 TixWidget.__init__(self, master, 'tixBalloon', static, cnf, kw)
526 self.subwidget_list['label'] = _dummyLabel(self, 'label',
528 self.subwidget_list['message'] = _dummyLabel(self, 'message',
531 def bind_widget(self, widget, cnf={}, **kw): argument
534 self.tk.call(self._w, 'bind', widget._w, *self._options(cnf, kw))
536 def unbind_widget(self, widget): argument
537 self.tk.call(self._w, 'unbind', widget._w)
543 def __init__(self, master=None, cnf={}, **kw): argument
544 TixWidget.__init__(self, master, 'tixButtonBox',
547 def add(self, name, cnf={}, **kw): argument
550 btn = self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
551 self.subwidget_list[name] = _dummyButton(self, name)
554 def invoke(self, name): argument
555 if name in self.subwidget_list:
556 self.tk.call(self._w, 'invoke', name)
572 def __init__ (self, master=None, cnf={}, **kw): argument
573 TixWidget.__init__(self, master, 'tixComboBox',
576 self.subwidget_list['label'] = _dummyLabel(self, 'label')
577 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
578 self.subwidget_list['arrow'] = _dummyButton(self, 'arrow')
579 self.subwidget_list['slistbox'] = _dummyScrolledListBox(self,
582 self.subwidget_list['tick'] = _dummyButton(self, 'tick')
583 self.subwidget_list['cross'] = _dummyButton(self, 'cross')
590 def add_history(self, str): argument
591 self.tk.call(self._w, 'addhistory', str)
593 def append_history(self, str): argument
594 self.tk.call(self._w, 'appendhistory', str)
596 def insert(self, index, str): argument
597 self.tk.call(self._w, 'insert', index, str)
599 def pick(self, index): argument
600 self.tk.call(self._w, 'pick', index)
616 def __init__ (self, master=None, cnf={}, **kw): argument
617 TixWidget.__init__(self, master, 'tixControl', ['options'], cnf, kw)
618 self.subwidget_list['incr'] = _dummyButton(self, 'incr')
619 self.subwidget_list['decr'] = _dummyButton(self, 'decr')
620 self.subwidget_list['label'] = _dummyLabel(self, 'label')
621 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
623 def decrement(self): argument
624 self.tk.call(self._w, 'decr')
626 def increment(self): argument
627 self.tk.call(self._w, 'incr')
629 def invoke(self): argument
630 self.tk.call(self._w, 'invoke')
632 def update(self): argument
633 self.tk.call(self._w, 'update')
647 def __init__(self, master, cnf={}, **kw): argument
648 TixWidget.__init__(self, master, 'tixDirList', ['options'], cnf, kw)
649 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
650 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
651 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
653 def chdir(self, dir): argument
654 self.tk.call(self._w, 'chdir', dir)
669 def __init__(self, master, cnf={}, **kw): argument
670 TixWidget.__init__(self, master, 'tixDirTree', ['options'], cnf, kw)
671 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
672 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
673 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
675 def chdir(self, dir): argument
676 self.tk.call(self._w, 'chdir', dir)
692 def __init__(self, master, cnf={}, **kw): argument
693 TixWidget.__init__(self, master, 'tixDirSelectBox', ['options'], cnf, kw)
694 self.subwidget_list['dirlist'] = _dummyDirList(self, 'dirlist')
695 self.subwidget_list['dircbx'] = _dummyFileComboBox(self, 'dircbx')
712 def __init__(self, master, cnf={}, **kw): argument
713 TixWidget.__init__(self, master, 'tixExFileSelectBox', ['options'], cnf, kw)
714 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
715 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
716 self.subwidget_list['hidden'] = _dummyCheckbutton(self, 'hidden')
717 self.subwidget_list['types'] = _dummyComboBox(self, 'types')
718 self.subwidget_list['dir'] = _dummyComboBox(self, 'dir')
719 self.subwidget_list['dirlist'] = _dummyDirList(self, 'dirlist')
720 self.subwidget_list['file'] = _dummyComboBox(self, 'file')
721 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
723 def filter(self): argument
724 self.tk.call(self._w, 'filter')
726 def invoke(self): argument
727 self.tk.call(self._w, 'invoke')
741 def __init__(self, master, cnf={}, **kw): argument
742 TixWidget.__init__(self, master, 'tixDirSelectDialog',
744 self.subwidget_list['dirbox'] = _dummyDirSelectBox(self, 'dirbox')
747 def popup(self): argument
748 self.tk.call(self._w, 'popup')
750 def popdown(self): argument
751 self.tk.call(self._w, 'popdown')
764 def __init__(self, master, cnf={}, **kw): argument
765 TixWidget.__init__(self, master, 'tixExFileSelectDialog',
767 self.subwidget_list['fsbox'] = _dummyExFileSelectBox(self, 'fsbox')
769 def popup(self): argument
770 self.tk.call(self._w, 'popup')
772 def popdown(self): argument
773 self.tk.call(self._w, 'popdown')
789 def __init__(self, master, cnf={}, **kw): argument
790 TixWidget.__init__(self, master, 'tixFileSelectBox', ['options'], cnf, kw)
791 self.subwidget_list['dirlist'] = _dummyScrolledListBox(self, 'dirlist')
792 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
793 self.subwidget_list['filter'] = _dummyComboBox(self, 'filter')
794 self.subwidget_list['selection'] = _dummyComboBox(self, 'selection')
796 def apply_filter(self): # name of subwidget is same as command argument
797 self.tk.call(self._w, 'filter')
799 def invoke(self): argument
800 self.tk.call(self._w, 'invoke')
812 def __init__(self, master, cnf={}, **kw): argument
813 TixWidget.__init__(self, master, 'tixFileSelectDialog',
815 self.subwidget_list['btns'] = _dummyStdButtonBox(self, 'btns')
816 self.subwidget_list['fsbox'] = _dummyFileSelectBox(self, 'fsbox')
818 def popup(self): argument
819 self.tk.call(self._w, 'popup')
821 def popdown(self): argument
822 self.tk.call(self._w, 'popdown')
836 def __init__(self, master, cnf={}, **kw): argument
837 TixWidget.__init__(self, master, 'tixFileEntry',
839 self.subwidget_list['button'] = _dummyButton(self, 'button')
840 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
842 def invoke(self): argument
843 self.tk.call(self._w, 'invoke')
845 def file_dialog(self): argument
857 def __init__ (self,master=None,cnf={}, **kw): argument
858 TixWidget.__init__(self, master, 'tixHList',
861 def add(self, entry, cnf={}, **kw): argument
862 return self.tk.call(self._w, 'add', entry, *self._options(cnf, kw))
864 def add_child(self, parent=None, cnf={}, **kw): argument
867 return self.tk.call(
868 self._w, 'addchild', parent, *self._options(cnf, kw))
870 def anchor_set(self, entry): argument
871 self.tk.call(self._w, 'anchor', 'set', entry)
873 def anchor_clear(self): argument
874 self.tk.call(self._w, 'anchor', 'clear')
876 def column_width(self, col=0, width=None, chars=None): argument
878 return self.tk.call(self._w, 'column', 'width', col, width)
880 return self.tk.call(self._w, 'column', 'width', col,
883 def delete_all(self): argument
884 self.tk.call(self._w, 'delete', 'all')
886 def delete_entry(self, entry): argument
887 self.tk.call(self._w, 'delete', 'entry', entry)
889 def delete_offsprings(self, entry): argument
890 self.tk.call(self._w, 'delete', 'offsprings', entry)
892 def delete_siblings(self, entry): argument
893 self.tk.call(self._w, 'delete', 'siblings', entry)
895 def dragsite_set(self, index): argument
896 self.tk.call(self._w, 'dragsite', 'set', index)
898 def dragsite_clear(self): argument
899 self.tk.call(self._w, 'dragsite', 'clear')
901 def dropsite_set(self, index): argument
902 self.tk.call(self._w, 'dropsite', 'set', index)
904 def dropsite_clear(self): argument
905 self.tk.call(self._w, 'dropsite', 'clear')
907 def header_create(self, col, cnf={}, **kw): argument
908 self.tk.call(self._w, 'header', 'create', col, *self._options(cnf, kw))
910 def header_configure(self, col, cnf={}, **kw): argument
912 return self._getconfigure(self._w, 'header', 'configure', col)
913 self.tk.call(self._w, 'header', 'configure', col,
914 *self._options(cnf, kw))
916 def header_cget(self, col, opt): argument
917 return self.tk.call(self._w, 'header', 'cget', col, opt)
919 def header_exists(self, col): argument
923 return self.tk.getboolean(self.tk.call(self._w, 'header', 'exist', col))
926 def header_delete(self, col): argument
927 self.tk.call(self._w, 'header', 'delete', col)
929 def header_size(self, col): argument
930 return self.tk.call(self._w, 'header', 'size', col)
932 def hide_entry(self, entry): argument
933 self.tk.call(self._w, 'hide', 'entry', entry)
935 def indicator_create(self, entry, cnf={}, **kw): argument
936 self.tk.call(
937 self._w, 'indicator', 'create', entry, *self._options(cnf, kw))
939 def indicator_configure(self, entry, cnf={}, **kw): argument
941 return self._getconfigure(
942 self._w, 'indicator', 'configure', entry)
943 self.tk.call(
944 self._w, 'indicator', 'configure', entry, *self._options(cnf, kw))
946 def indicator_cget(self, entry, opt): argument
947 return self.tk.call(self._w, 'indicator', 'cget', entry, opt)
949 def indicator_exists(self, entry): argument
950 return self.tk.call (self._w, 'indicator', 'exists', entry)
952 def indicator_delete(self, entry): argument
953 self.tk.call(self._w, 'indicator', 'delete', entry)
955 def indicator_size(self, entry): argument
956 return self.tk.call(self._w, 'indicator', 'size', entry)
958 def info_anchor(self): argument
959 return self.tk.call(self._w, 'info', 'anchor')
961 def info_bbox(self, entry): argument
962 return self._getints(
963 self.tk.call(self._w, 'info', 'bbox', entry)) or None
965 def info_children(self, entry=None): argument
966 c = self.tk.call(self._w, 'info', 'children', entry)
967 return self.tk.splitlist(c)
969 def info_data(self, entry): argument
970 return self.tk.call(self._w, 'info', 'data', entry)
972 def info_dragsite(self): argument
973 return self.tk.call(self._w, 'info', 'dragsite')
975 def info_dropsite(self): argument
976 return self.tk.call(self._w, 'info', 'dropsite')
978 def info_exists(self, entry): argument
979 return self.tk.call(self._w, 'info', 'exists', entry)
981 def info_hidden(self, entry): argument
982 return self.tk.call(self._w, 'info', 'hidden', entry)
984 def info_next(self, entry): argument
985 return self.tk.call(self._w, 'info', 'next', entry)
987 def info_parent(self, entry): argument
988 return self.tk.call(self._w, 'info', 'parent', entry)
990 def info_prev(self, entry): argument
991 return self.tk.call(self._w, 'info', 'prev', entry)
993 def info_selection(self): argument
994 c = self.tk.call(self._w, 'info', 'selection')
995 return self.tk.splitlist(c)
997 def item_cget(self, entry, col, opt): argument
998 return self.tk.call(self._w, 'item', 'cget', entry, col, opt)
1000 def item_configure(self, entry, col, cnf={}, **kw): argument
1002 return self._getconfigure(self._w, 'item', 'configure', entry, col)
1003 self.tk.call(self._w, 'item', 'configure', entry, col,
1004 *self._options(cnf, kw))
1006 def item_create(self, entry, col, cnf={}, **kw): argument
1007 self.tk.call(
1008 self._w, 'item', 'create', entry, col, *self._options(cnf, kw))
1010 def item_exists(self, entry, col): argument
1011 return self.tk.call(self._w, 'item', 'exists', entry, col)
1013 def item_delete(self, entry, col): argument
1014 self.tk.call(self._w, 'item', 'delete', entry, col)
1016 def entrycget(self, entry, opt): argument
1017 return self.tk.call(self._w, 'entrycget', entry, opt)
1019 def entryconfigure(self, entry, cnf={}, **kw): argument
1021 return self._getconfigure(self._w, 'entryconfigure', entry)
1022 self.tk.call(self._w, 'entryconfigure', entry,
1023 *self._options(cnf, kw))
1025 def nearest(self, y): argument
1026 return self.tk.call(self._w, 'nearest', y)
1028 def see(self, entry): argument
1029 self.tk.call(self._w, 'see', entry)
1031 def selection_clear(self, cnf={}, **kw): argument
1032 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1034 def selection_includes(self, entry): argument
1035 return self.tk.call(self._w, 'selection', 'includes', entry)
1037 def selection_set(self, first, last=None): argument
1038 self.tk.call(self._w, 'selection', 'set', first, last)
1040 def show_entry(self, entry): argument
1041 return self.tk.call(self._w, 'show', 'entry', entry)
1048 def __init__ (self,master=None,cnf={}, **kw): argument
1049 TixWidget.__init__(self, master, 'tixInputOnly', None, cnf, kw)
1061 def __init__ (self,master=None,cnf={}, **kw): argument
1062 TixWidget.__init__(self, master, 'tixLabelEntry',
1064 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1065 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
1078 def __init__ (self,master=None,cnf={}, **kw): argument
1079 TixWidget.__init__(self, master, 'tixLabelFrame',
1081 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1082 self.subwidget_list['frame'] = _dummyFrame(self, 'frame')
1093 def __init__(self, master, cnf={}, **kw): argument
1094 TixWidget.__init__(self, master, 'tixListNoteBook', ['options'], cnf, kw)
1096 self.subwidget_list['pane'] = _dummyPanedWindow(self, 'pane',
1098 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1099 self.subwidget_list['shlist'] = _dummyScrolledHList(self, 'shlist')
1101 def add(self, name, cnf={}, **kw): argument
1102 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1103 self.subwidget_list[name] = TixSubWidget(self, name)
1104 return self.subwidget_list[name]
1106 def page(self, name): argument
1107 return self.subwidget(name)
1109 def pages(self): argument
1111 names = self.tk.splitlist(self.tk.call(self._w, 'pages'))
1114 ret.append(self.subwidget(x))
1117 def raise_page(self, name): # raise is a python keyword argument
1118 self.tk.call(self._w, 'raise', name)
1125 def __init__(self, master=None, cnf={}, **kw): argument
1126 TixWidget.__init__(self, master, 'tixMeter',
1137 def __init__ (self,master=None,cnf={}, **kw): argument
1138 TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf, kw)
1139 self.subwidget_list['nbframe'] = TixSubWidget(self, 'nbframe',
1142 def add(self, name, cnf={}, **kw): argument
1143 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1144 self.subwidget_list[name] = TixSubWidget(self, name)
1145 return self.subwidget_list[name]
1147 def delete(self, name): argument
1148 self.tk.call(self._w, 'delete', name)
1149 self.subwidget_list[name].destroy()
1150 del self.subwidget_list[name]
1152 def page(self, name): argument
1153 return self.subwidget(name)
1155 def pages(self): argument
1157 names = self.tk.splitlist(self.tk.call(self._w, 'pages'))
1160 ret.append(self.subwidget(x))
1163 def raise_page(self, name): # raise is a python keyword argument
1164 self.tk.call(self._w, 'raise', name)
1166 def raised(self): argument
1167 return self.tk.call(self._w, 'raised')
1181 def __init__(self, master, cnf={}, **kw): argument
1182 TixWidget.__init__(self, master, 'tixOptionMenu', ['options'], cnf, kw)
1183 self.subwidget_list['menubutton'] = _dummyMenubutton(self, 'menubutton')
1184 self.subwidget_list['menu'] = _dummyMenu(self, 'menu')
1186 def add_command(self, name, cnf={}, **kw): argument
1187 self.tk.call(self._w, 'add', 'command', name, *self._options(cnf, kw))
1189 def add_separator(self, name, cnf={}, **kw): argument
1190 self.tk.call(self._w, 'add', 'separator', name, *self._options(cnf, kw))
1192 def delete(self, name): argument
1193 self.tk.call(self._w, 'delete', name)
1195 def disable(self, name): argument
1196 self.tk.call(self._w, 'disable', name)
1198 def enable(self, name): argument
1199 self.tk.call(self._w, 'enable', name)
1212 def __init__(self, master, cnf={}, **kw): argument
1213 TixWidget.__init__(self, master, 'tixPanedWindow', ['orientation', 'options'], cnf, kw)
1216 def add(self, name, cnf={}, **kw): argument
1217 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1218 self.subwidget_list[name] = TixSubWidget(self, name,
1220 return self.subwidget_list[name]
1222 def delete(self, name): argument
1223 self.tk.call(self._w, 'delete', name)
1224 self.subwidget_list[name].destroy()
1225 del self.subwidget_list[name]
1227 def forget(self, name): argument
1228 self.tk.call(self._w, 'forget', name)
1230 def panecget(self, entry, opt): argument
1231 return self.tk.call(self._w, 'panecget', entry, opt)
1233 def paneconfigure(self, entry, cnf={}, **kw): argument
1235 return self._getconfigure(self._w, 'paneconfigure', entry)
1236 self.tk.call(self._w, 'paneconfigure', entry, *self._options(cnf, kw))
1238 def panes(self): argument
1239 names = self.tk.splitlist(self.tk.call(self._w, 'panes'))
1240 return [self.subwidget(x) for x in names]
1254 def __init__(self, master, cnf={}, **kw): argument
1255 TixWidget.__init__(self, master, 'tixPopupMenu', ['options'], cnf, kw)
1256 self.subwidget_list['menubutton'] = _dummyMenubutton(self, 'menubutton')
1257 self.subwidget_list['menu'] = _dummyMenu(self, 'menu')
1259 def bind_widget(self, widget): argument
1260 self.tk.call(self._w, 'bind', widget._w)
1262 def unbind_widget(self, widget): argument
1263 self.tk.call(self._w, 'unbind', widget._w)
1265 def post_widget(self, widget, x, y): argument
1266 self.tk.call(self._w, 'post', widget._w, x, y)
1270 def __init__(self, master, cnf={}, **kw): argument
1277 TixWidget.__init__(self, master, 'tixResizeHandle',
1280 def attach_widget(self, widget): argument
1281 self.tk.call(self._w, 'attachwidget', widget._w)
1283 def detach_widget(self, widget): argument
1284 self.tk.call(self._w, 'detachwidget', widget._w)
1286 def hide(self, widget): argument
1287 self.tk.call(self._w, 'hide', widget._w)
1289 def show(self, widget): argument
1290 self.tk.call(self._w, 'show', widget._w)
1296 def __init__(self, master, cnf={}, **kw): argument
1297 TixWidget.__init__(self, master, 'tixScrolledHList', ['options'],
1299 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1300 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1301 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1307 def __init__(self, master, cnf={}, **kw): argument
1308 TixWidget.__init__(self, master, 'tixScrolledListBox', ['options'], cnf, kw)
1309 self.subwidget_list['listbox'] = _dummyListbox(self, 'listbox')
1310 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1311 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1317 def __init__(self, master, cnf={}, **kw): argument
1318 TixWidget.__init__(self, master, 'tixScrolledText', ['options'], cnf, kw)
1319 self.subwidget_list['text'] = _dummyText(self, 'text')
1320 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1321 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1327 def __init__(self, master, cnf={}, **kw): argument
1328 TixWidget.__init__(self, master, 'tixScrolledTList', ['options'],
1330 self.subwidget_list['tlist'] = _dummyTList(self, 'tlist')
1331 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1332 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1338 def __init__(self, master, cnf={}, **kw): argument
1339 TixWidget.__init__(self, master, 'tixScrolledWindow', ['options'], cnf, kw)
1340 self.subwidget_list['window'] = _dummyFrame(self, 'window')
1341 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1342 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1351 def __init__(self, master, cnf={}, **kw): argument
1352 TixWidget.__init__(self, master, 'tixSelect',
1356 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1358 def add(self, name, cnf={}, **kw): argument
1359 self.tk.call(self._w, 'add', name, *self._options(cnf, kw))
1360 self.subwidget_list[name] = _dummyButton(self, name)
1361 return self.subwidget_list[name]
1363 def invoke(self, name): argument
1364 self.tk.call(self._w, 'invoke', name)
1371 def __init__ (self,master=None,cnf={}, **kw): argument
1372 TixWidget.__init__(self, master, 'tixShell', ['options', 'title'], cnf, kw)
1383 def __init__ (self,master=None,cnf={}, **kw): argument
1384 TixWidget.__init__(self, master,
1390 def popdown(self): argument
1391 self.tk.call(self._w, 'popdown')
1393 def popup(self): argument
1394 self.tk.call(self._w, 'popup')
1396 def center(self): argument
1397 self.tk.call(self._w, 'center')
1402 def __init__(self, master=None, cnf={}, **kw): argument
1403 TixWidget.__init__(self, master, 'tixStdButtonBox',
1405 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
1406 self.subwidget_list['apply'] = _dummyButton(self, 'apply')
1407 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
1408 self.subwidget_list['help'] = _dummyButton(self, 'help')
1410 def invoke(self, name): argument
1411 if name in self.subwidget_list:
1412 self.tk.call(self._w, 'invoke', name)
1424 def __init__ (self,master=None,cnf={}, **kw): argument
1425 TixWidget.__init__(self, master, 'tixTList', ['options'], cnf, kw)
1427 def active_set(self, index): argument
1428 self.tk.call(self._w, 'active', 'set', index)
1430 def active_clear(self): argument
1431 self.tk.call(self._w, 'active', 'clear')
1433 def anchor_set(self, index): argument
1434 self.tk.call(self._w, 'anchor', 'set', index)
1436 def anchor_clear(self): argument
1437 self.tk.call(self._w, 'anchor', 'clear')
1439 def delete(self, from_, to=None): argument
1440 self.tk.call(self._w, 'delete', from_, to)
1442 def dragsite_set(self, index): argument
1443 self.tk.call(self._w, 'dragsite', 'set', index)
1445 def dragsite_clear(self): argument
1446 self.tk.call(self._w, 'dragsite', 'clear')
1448 def dropsite_set(self, index): argument
1449 self.tk.call(self._w, 'dropsite', 'set', index)
1451 def dropsite_clear(self): argument
1452 self.tk.call(self._w, 'dropsite', 'clear')
1454 def insert(self, index, cnf={}, **kw): argument
1455 self.tk.call(self._w, 'insert', index, *self._options(cnf, kw))
1457 def info_active(self): argument
1458 return self.tk.call(self._w, 'info', 'active')
1460 def info_anchor(self): argument
1461 return self.tk.call(self._w, 'info', 'anchor')
1463 def info_down(self, index): argument
1464 return self.tk.call(self._w, 'info', 'down', index)
1466 def info_left(self, index): argument
1467 return self.tk.call(self._w, 'info', 'left', index)
1469 def info_right(self, index): argument
1470 return self.tk.call(self._w, 'info', 'right', index)
1472 def info_selection(self): argument
1473 c = self.tk.call(self._w, 'info', 'selection')
1474 return self.tk.splitlist(c)
1476 def info_size(self): argument
1477 return self.tk.call(self._w, 'info', 'size')
1479 def info_up(self, index): argument
1480 return self.tk.call(self._w, 'info', 'up', index)
1482 def nearest(self, x, y): argument
1483 return self.tk.call(self._w, 'nearest', x, y)
1485 def see(self, index): argument
1486 self.tk.call(self._w, 'see', index)
1488 def selection_clear(self, cnf={}, **kw): argument
1489 self.tk.call(self._w, 'selection', 'clear', *self._options(cnf, kw))
1491 def selection_includes(self, index): argument
1492 return self.tk.call(self._w, 'selection', 'includes', index)
1494 def selection_set(self, first, last=None): argument
1495 self.tk.call(self._w, 'selection', 'set', first, last)
1503 def __init__(self, master=None, cnf={}, **kw): argument
1504 TixWidget.__init__(self, master, 'tixTree',
1506 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1507 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1508 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1510 def autosetmode(self): argument
1515 self.tk.call(self._w, 'autosetmode')
1517 def close(self, entrypath): argument
1519 self.tk.call(self._w, 'close', entrypath)
1521 def getmode(self, entrypath): argument
1523 return self.tk.call(self._w, 'getmode', entrypath)
1525 def open(self, entrypath): argument
1527 self.tk.call(self._w, 'open', entrypath)
1529 def setmode(self, entrypath, mode='none'): argument
1539 self.tk.call(self._w, 'setmode', entrypath, mode)
1550 def __init__(self, master=None, cnf={}, **kw): argument
1551 TixWidget.__init__(self, master, 'tixCheckList',
1553 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1554 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1555 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1557 def autosetmode(self): argument
1562 self.tk.call(self._w, 'autosetmode')
1564 def close(self, entrypath): argument
1566 self.tk.call(self._w, 'close', entrypath)
1568 def getmode(self, entrypath): argument
1570 return self.tk.call(self._w, 'getmode', entrypath)
1572 def open(self, entrypath): argument
1574 self.tk.call(self._w, 'open', entrypath)
1576 def getselection(self, mode='on'): argument
1580 return self.tk.splitlist(self.tk.call(self._w, 'getselection', mode))
1582 def getstatus(self, entrypath): argument
1584 return self.tk.call(self._w, 'getstatus', entrypath)
1586 def setstatus(self, entrypath, mode='on'): argument
1589 self.tk.call(self._w, 'setstatus', entrypath, mode)
1598 def __init__(self, master, name, destroy_physically=1): argument
1599 TixSubWidget.__init__(self, master, name, destroy_physically)
1602 def __init__(self, master, name, destroy_physically=1): argument
1603 TixSubWidget.__init__(self, master, name, destroy_physically)
1606 def __init__(self, master, name, destroy_physically=1): argument
1607 TixSubWidget.__init__(self, master, name, destroy_physically)
1610 def __init__(self, master, name, destroy_physically=1): argument
1611 TixSubWidget.__init__(self, master, name, destroy_physically)
1614 def __init__(self, master, name, destroy_physically=1): argument
1615 TixSubWidget.__init__(self, master, name, destroy_physically)
1618 def __init__(self, master, name, destroy_physically=1): argument
1619 TixSubWidget.__init__(self, master, name, destroy_physically)
1622 def __init__(self, master, name, destroy_physically=1): argument
1623 TixSubWidget.__init__(self, master, name, destroy_physically)
1626 def __init__(self, master, name, destroy_physically=1): argument
1627 TixSubWidget.__init__(self, master, name, destroy_physically)
1630 def __init__(self, master, name, destroy_physically=1): argument
1631 TixSubWidget.__init__(self, master, name, destroy_physically)
1634 def __init__(self, master, name, destroy_physically=1): argument
1635 TixSubWidget.__init__(self, master, name, destroy_physically)
1638 def __init__(self, master, name, destroy_physically=1): argument
1639 TixSubWidget.__init__(self, master, name, destroy_physically)
1640 self.subwidget_list['listbox'] = _dummyListbox(self, 'listbox')
1641 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1642 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1645 def __init__(self, master, name, destroy_physically=1): argument
1646 TixSubWidget.__init__(self, master, name, destroy_physically)
1649 def __init__(self, master, name, destroy_physically=1): argument
1650 TixSubWidget.__init__(self, master, name, destroy_physically)
1651 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1652 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1653 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1656 def __init__(self, master, name, destroy_physically=1): argument
1657 TixSubWidget.__init__(self, master, name, destroy_physically)
1660 def __init__(self, master, name, destroy_physically=1): argument
1661 TixSubWidget.__init__(self, master, name, ['fancy',destroy_physically])
1662 self.subwidget_list['label'] = _dummyLabel(self, 'label')
1663 self.subwidget_list['entry'] = _dummyEntry(self, 'entry')
1664 self.subwidget_list['arrow'] = _dummyButton(self, 'arrow')
1666 self.subwidget_list['slistbox'] = _dummyScrolledListBox(self,
1669 self.subwidget_list['tick'] = _dummyButton(self, 'tick')
1671 self.subwidget_list['cross'] = _dummyButton(self, 'cross')
1677 def __init__(self, master, name, destroy_physically=1): argument
1678 TixSubWidget.__init__(self, master, name, destroy_physically)
1679 self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
1680 self.subwidget_list['vsb'] = _dummyScrollbar(self, 'vsb')
1681 self.subwidget_list['hsb'] = _dummyScrollbar(self, 'hsb')
1684 def __init__(self, master, name, destroy_physically=1): argument
1685 TixSubWidget.__init__(self, master, name, destroy_physically)
1686 self.subwidget_list['dirlist'] = _dummyDirList(self, 'dirlist')
1687 self.subwidget_list['dircbx'] = _dummyFileComboBox(self, 'dircbx')
1690 def __init__(self, master, name, destroy_physically=1): argument
1691 TixSubWidget.__init__(self, master, name, destroy_physically)
1692 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
1693 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
1694 self.subwidget_list['hidden'] = _dummyCheckbutton(self, 'hidden')
1695 self.subwidget_list['types'] = _dummyComboBox(self, 'types')
1696 self.subwidget_list['dir'] = _dummyComboBox(self, 'dir')
1697 self.subwidget_list['dirlist'] = _dummyScrolledListBox(self, 'dirlist')
1698 self.subwidget_list['file'] = _dummyComboBox(self, 'file')
1699 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
1702 def __init__(self, master, name, destroy_physically=1): argument
1703 TixSubWidget.__init__(self, master, name, destroy_physically)
1704 self.subwidget_list['dirlist'] = _dummyScrolledListBox(self, 'dirlist')
1705 self.subwidget_list['filelist'] = _dummyScrolledListBox(self, 'filelist')
1706 self.subwidget_list['filter'] = _dummyComboBox(self, 'filter')
1707 self.subwidget_list['selection'] = _dummyComboBox(self, 'selection')
1710 def __init__(self, master, name, destroy_physically=1): argument
1711 TixSubWidget.__init__(self, master, name, destroy_physically)
1712 self.subwidget_list['dircbx'] = _dummyComboBox(self, 'dircbx')
1715 def __init__(self, master, name, destroy_physically=1): argument
1716 TixSubWidget.__init__(self, master, name, destroy_physically)
1717 self.subwidget_list['ok'] = _dummyButton(self, 'ok')
1718 self.subwidget_list['apply'] = _dummyButton(self, 'apply')
1719 self.subwidget_list['cancel'] = _dummyButton(self, 'cancel')
1720 self.subwidget_list['help'] = _dummyButton(self, 'help')
1723 def __init__(self, master, name, destroy_physically=0): argument
1724 TixSubWidget.__init__(self, master, name, destroy_physically)
1727 def __init__(self, master, name, destroy_physically=1): argument
1728 TixSubWidget.__init__(self, master, name, destroy_physically)
1783 def __init__(self, master=None, cnf={}, **kw): argument
1785 self.cnf= cnf
1786 TixWidget.__init__(self, master, 'tixGrid', static, cnf, kw)
1792 def anchor_clear(self): argument
1794 self.tk.call(self, 'anchor', 'clear')
1796 def anchor_get(self): argument
1798 return self._getints(self.tk.call(self, 'anchor', 'get'))
1800 def anchor_set(self, x, y): argument
1802 self.tk.call(self, 'anchor', 'set', x, y)
1804 def delete_row(self, from_, to=None): argument
1808 self.tk.call(self, 'delete', 'row', from_)
1810 self.tk.call(self, 'delete', 'row', from_, to)
1812 def delete_column(self, from_, to=None): argument
1816 self.tk.call(self, 'delete', 'column', from_)
1818 self.tk.call(self, 'delete', 'column', from_, to)
1820 def edit_apply(self): argument
1823 self.tk.call(self, 'edit', 'apply')
1825 def edit_set(self, x, y): argument
1828 self.tk.call(self, 'edit', 'set', x, y)
1830 def entrycget(self, x, y, option): argument
1834 return self.tk.call(self, 'entrycget', x, y, option)
1836 def entryconfigure(self, x, y, cnf=None, **kw): argument
1837 return self._configure(('entryconfigure', x, y), cnf, kw)
1842 def info_exists(self, x, y): argument
1844 return self._getboolean(self.tk.call(self, 'info', 'exists', x, y))
1846 def info_bbox(self, x, y): argument
1848 return self.tk.call(self, 'info', 'bbox', x, y)
1850 def move_column(self, from_, to, offset): argument
1854 self.tk.call(self, 'move', 'column', from_, to, offset)
1856 def move_row(self, from_, to, offset): argument
1860 self.tk.call(self, 'move', 'row', from_, to, offset)
1862 def nearest(self, x, y): argument
1864 return self._getints(self.tk.call(self, 'nearest', x, y))
1872 def set(self, x, y, itemtype=None, **kw): argument
1873 args= self._options(self.cnf, kw)
1876 self.tk.call(self, 'set', x, y, *args)
1878 def size_column(self, index, **kw): argument
1901 return self.tk.splitlist(self.tk.call(self._w, 'size', 'column', index,
1902 *self._options({}, kw)))
1904 def size_row(self, index, **kw): argument
1926 return self.tk.splitlist(self.tk.call(
1927 self, 'size', 'row', index, *self._options({}, kw)))
1929 def unset(self, x, y): argument
1931 self.tk.call(self._w, 'unset', x, y)
1938 def __init__(self, master=None, cnf={}, **kw): argument
1940 self.cnf= cnf
1941 TixWidget.__init__(self, master, 'tixScrolledGrid', static, cnf, kw)