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

Lines Matching defs:If

14 #       and will break if there are major changes in Tkinter.
33 if TkVersion < 3.999:
36 import _tkinter # If this fails your Python may not be configured for Tk
110 context. If no option is specified, returns a dictionary all of the
111 available options. If option is specified with no value, then the
114 returned if no option is specified). If one or more option-value
120 if kw:
124 if cnf is None:
129 if isinstance(cnf, StringType):
143 if dlgclass is not None:
162 above). If more than one file with the same name (but different
205 if newScmPrio is not None:
217 if tixlib is not None:
221 # If it's static, tcl/tix8.1/pkgIndex.tcl should have
223 # If it's dynamic under Unix, tcl/tix8.1/pkgIndex.tcl should have
254 if (not xsize) and (not ysize):
264 if not option:
266 if option[0] != '-':
296 if kw:
306 if static_options:
312 if k in static_options:
319 # If widgetName is None, this is a dummy creation call where the
321 if widgetName:
325 if cnf:
337 # Button class if you go through the proper constructors
339 if name in self.subwidget_list:
351 if not n:
360 if not names:
389 if option == '':
393 if not isinstance(value, StringType):
400 if not master:
402 if not master:
404 if kw and cnf: cnf = _cnfmerge((cnf, kw))
408 if hasattr(v, '__call__'):
416 # May happen if the root was destroyed
431 if check_intermediate:
439 if not check_intermediate:
456 if plist:
467 if self._name in self.master.children:
469 if self._name in self.master.subwidget_list:
471 if self.destroy_physically:
491 if not master and 'refwindow' in cnf: master=cnf['refwindow']
502 if kw and cnf:
574 if name in self.subwidget_list:
588 cross Button : present if created with the fancy option"""
884 if not parent:
896 if not chars:
930 if cnf is None:
957 if cnf is None:
1019 if cnf is None:
1040 if cnf is None:
1257 if cnf is None:
1436 if name in self.subwidget_list:
1537 Tree widget: if an entry has no child entries, its mode is set to
1538 none. Otherwise, if the entry has any hidden child entries, its mode is
1543 '''Close the entry given by entryPath if its mode is close.'''
1551 '''Open the entry given by entryPath if its mode is open.'''
1557 must be one of open, close or none. If mode is set to open, a (+)
1558 indicator is drawn next to the entry. If mode is set to close, a (-)
1559 indicator is drawn next to the entry. If mode is set to none, no
1584 Tree widget: if an entry has no child entries, its mode is set to
1585 none. Otherwise, if the entry has any hidden child entries, its mode is
1590 '''Close the entry given by entryPath if its mode is close.'''
1598 '''Open the entry given by entryPath if its mode is open.'''
1602 '''Returns a list of items whose status matches status. If status is
1696 #cross Button : present if created with the fancy option
1832 If to is not provided, delete only row at from_"""
1833 if to is None:
1840 If to is not provided, delete only column at from_"""
1841 if to is None:
1847 """If any cell is being edited, de-highlight the cell and applies
1852 """Highlights the cell at (x, y) for editing, if the -editnotify
1858 if option and option[0] != '-':
1869 "Return True if display item exists at (x,y)"
1900 if itemtype is not None: