Lines Matching defs:index

1811     def _grid_configure(self, command, index, cnf, kw):
1824 self.tk.call('grid', command, self._w, index),
1827 ('grid', command, self._w, index)
1832 def grid_columnconfigure(self, index, cnf={}, **kw):
1838 return self._grid_configure('columnconfigure', index, cnf, kw)
1863 def grid_rowconfigure(self, index, cnf={}, **kw):
1869 return self._grid_configure('rowconfigure', index, cnf, kw)
2938 def index(self, *args):
2940 return self.tk.getint(self.tk.call((self._w, 'index') + args))
3016 def select_adjust(self, tagOrId, index):
3017 """Adjust the end of the selection near the cursor of an item TAGORID to index."""
3018 self.tk.call(self._w, 'select', 'adjust', tagOrId, index)
3024 def select_from(self, tagOrId, index):
3026 self.tk.call(self._w, 'select', 'from', tagOrId, index)
3032 def select_to(self, tagOrId, index):
3034 self.tk.call(self._w, 'select', 'to', tagOrId, index)
3111 def icursor(self, index):
3113 self.tk.call(self._w, 'icursor', index)
3115 def index(self, index):
3118 self._w, 'index', index))
3120 def insert(self, index, string):
3122 self.tk.call(self._w, 'insert', index, string)
3134 def selection_adjust(self, index):
3136 self.tk.call(self._w, 'selection', 'adjust', index)
3146 def selection_from(self, index):
3148 self.tk.call(self._w, 'selection', 'from', index)
3166 def selection_to(self, index):
3168 self.tk.call(self._w, 'selection', 'to', index)
3230 def activate(self, index):
3232 self.tk.call(self._w, 'activate', index)
3234 def bbox(self, index):
3236 which encloses the item identified by the given index."""
3237 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
3255 def index(self, index):
3256 """Return index of item identified with INDEX."""
3257 i = self.tk.call(self._w, 'index', index)
3261 def insert(self, index, *elements):
3263 self.tk.call((self._w, 'insert', index) + elements)
3266 """Get index of item which is nearest to y coordinate Y."""
3280 def see(self, index):
3282 self.tk.call(self._w, 'see', index)
3284 def selection_anchor(self, index):
3286 self.tk.call(self._w, 'selection', 'anchor', index)
3297 def selection_includes(self, index):
3300 self._w, 'selection', 'includes', index))
3315 def itemcget(self, index, option):
3318 (self._w, 'itemcget') + (index, '-'+option))
3320 def itemconfigure(self, index, cnf=None, **kw):
3328 return self._configure(('itemconfigure', index), cnf, kw)
3349 def activate(self, index):
3351 self.tk.call(self._w, 'activate', index)
3378 def insert(self, index, itemType, cnf={}, **kw):
3380 self.tk.call((self._w, 'insert', index, itemType) +
3383 def insert_cascade(self, index, cnf={}, **kw):
3385 self.insert(index, 'cascade', cnf or kw)
3387 def insert_checkbutton(self, index, cnf={}, **kw):
3389 self.insert(index, 'checkbutton', cnf or kw)
3391 def insert_command(self, index, cnf={}, **kw):
3393 self.insert(index, 'command', cnf or kw)
3395 def insert_radiobutton(self, index, cnf={}, **kw):
3397 self.insert(index, 'radiobutton', cnf or kw)
3399 def insert_separator(self, index, cnf={}, **kw):
3401 self.insert(index, 'separator', cnf or kw)
3408 num_index1, num_index2 = self.index(index1), self.index(index2)
3419 def entrycget(self, index, option):
3421 return self.tk.call(self._w, 'entrycget', index, '-' + option)
3423 def entryconfigure(self, index, cnf=None, **kw):
3425 return self._configure(('entryconfigure', index), cnf, kw)
3429 def index(self, index):
3430 """Return the index of a menu item identified by INDEX."""
3431 i = self.tk.call(self._w, 'index', index)
3434 def invoke(self, index):
3437 return self.tk.call(self._w, 'invoke', index)
3443 def type(self, index):
3445 return self.tk.call(self._w, 'type', index)
3451 def xposition(self, index): # new in Tk 8.5
3454 return self.tk.getint(self.tk.call(self._w, 'xposition', index))
3456 def yposition(self, index):
3459 self._w, 'yposition', index))
3562 def activate(self, index=None):
3563 """Marks the element indicated by index as active.
3564 The only index values understood by this method are "arrow1",
3566 element of the scrollbar will be active. If index is not specified,
3569 return self.tk.call(self._w, 'activate', index) or None
3626 def bbox(self, index):
3628 box of the visible part of the character at the given index."""
3630 self.tk.call(self._w, 'bbox', index)) or None
3633 """Return whether between index INDEX1 and index INDEX2 the
3669 def dlineinfo(self, index):
3673 return self._getints(self.tk.call(self._w, 'dlineinfo', index))
3681 is a list of triples of the form (key, value, index). If none of the
3696 def append_triple(key, value, index, result=result):
3697 result.append((key, value, index))
3779 def image_cget(self, index, option):
3785 return self.tk.call(self._w, "image", "cget", index, option)
3787 def image_configure(self, index, cnf=None, **kw):
3789 return self._configure(('image', 'configure', index), cnf, kw)
3791 def image_create(self, index, cnf={}, **kw):
3794 self._w, "image", "create", index,
3801 def index(self, index):
3802 """Return the index in the form line.char for INDEX."""
3803 return str(self.tk.call(self._w, 'index', index))
3805 def insert(self, index, chars, *args):
3808 self.tk.call((self._w, 'insert', index, chars) + args)
3821 def mark_set(self, markName, index):
3823 self.tk.call(self._w, 'mark', 'set', markName, index)
3829 def mark_next(self, index):
3831 return self.tk.call(self._w, 'mark', 'next', index) or None
3833 def mark_previous(self, index):
3835 return self.tk.call(self._w, 'mark', 'previous', index) or None
3868 def search(self, pattern, index, stopindex=None,
3872 Return the index of the first character of a match or an
3884 args.append(index)
3888 def see(self, index):
3890 self.tk.call(self._w, 'see', index)
3937 def tag_names(self, index=None):
3940 self.tk.call(self._w, 'tag', 'names', index))
3943 """Return a list of start and end index for the first sequence of
3950 """Return a list of start and end index for the first sequence of
3972 def window_cget(self, index, option):
3978 return self.tk.call(self._w, 'window', 'cget', index, option)
3980 def window_configure(self, index, cnf=None, **kw):
3982 return self._configure(('window', 'configure', index), cnf, kw)
3986 def window_create(self, index, cnf={}, **kw):
3989 (self._w, 'window', 'create', index)
4257 def bbox(self, index):
4259 rectangle which encloses the character given by index.
4269 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
4274 First is the index of the first character to delete,
4275 and last is the index of the character just after
4286 def icursor(self, index):
4290 the character given by index. Returns an empty string
4292 return self.tk.call(self._w, 'icursor', index)
4301 def index(self, index):
4302 """Returns the numerical index corresponding to index
4304 return self.tk.call(self._w, 'index', index)
4306 def insert(self, index, s):
4307 """Insert string s at index
4311 return self.tk.call(self._w, 'insert', index, s)
4352 def selection_adjust(self, index):
4354 given by index,
4356 Then adjust that end of the selection to be at index
4357 (i.e including but not going beyond index). The other
4361 the characters between index and the most recent selection
4364 return self.selection("adjust", index)
4382 def selection_from(self, index):
4384 self.selection('from', index)
4396 def selection_to(self, index):
4398 self.selection('to', index)
4469 is a two element list containing the index of the sash or
4502 def sash_coord(self, index):
4503 """Return the current x and y pair for the sash given by index.
4508 pathName sash dragto index x y This command computes the
4514 return self.sash("coord", index)
4516 def sash_mark(self, index):
4517 """Records x and y for the sash given by index;
4521 return self.sash("mark", index)
4523 def sash_place(self, index, x, y):
4524 """Place the sash given by index at the given coordinates
4526 return self.sash("place", index, x, y)