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

Lines Matching defs:command

18 command) or with the method bind.
28 button = Tkinter.Button(frame,text="Exit",command=tk.destroy)
377 # XXX font command?
386 #print '- Tkinter: deleted command', name
392 Delete the Tcl command provided in NAME."""
393 #print '- Tkinter: deleted command', name
576 This command is equivalent to:
678 def selection_handle(self, command, **kw):
679 """Specify a function COMMAND to call if the X
690 name = self._register(command)
712 """Send Tcl command CMD to different interpreter INTERP to be executed."""
1330 def _grid_configure(self, command, index, cnf, kw):
1342 command, self._w, index)
1357 ('grid', command, self._w, index)
1416 # Support for the "event" command, new in Tk 4.2.
1571 """Store VALUE in WM_COMMAND property. It is the command
1573 command if VALUE is None."""
1574 return self.tk.call('wm', 'command', self._w, value)
1575 command = wm_command
1679 """Bind function FUNC to command NAME for this widget.
1683 command = self._register(func)
1685 command = func
1687 'wm', 'protocol', self._w, name, command)
2103 command, compound, default, height,
2129 in the same normal/active state as when the command was
2130 invoked. This command is ignored if the button's state is
2136 """Invoke the command associated with the button.
2138 The return value is the return value from the command,
2139 or an empty string if there is no command associated with
2140 the button. This command is ignored if the button's state
2411 background, bd, bg, bitmap, borderwidth, command, cursor,
2425 """Toggle the button and invoke a command if given as resource."""
2682 """Add command menu item."""
2683 self.add('command', cnf or kw)
2701 """Add command menu item at INDEX."""
2702 self.insert(index, 'command', cnf or kw)
2719 if 'command' in self.entryconfig(i):
2720 c = str(self.entrycget(i, 'command'))
2738 the associated command."""
2770 background, bd, bg, bitmap, borderwidth, command, cursor,
2785 """Toggle the button and invoke a command if given as resource."""
2797 bg, borderwidth, command, cursor, digits, fg, font, foreground, from,
2830 background, bd, bg, borderwidth, command, cursor,
2921 def dump(self, index1, index2=None, command=None, **kw):
2930 If the 'command' argument is given, it is called once for each element
2936 if not command:
2937 # Never call the dump command without the -command flag, since the
2939 # right. Instead just set the command to build a list of triples
2944 command = append_triple
2946 if not isinstance(command, str):
2947 func_name = command = self._register(command)
2948 args += ["-command", command]
2966 command depends on the option argument that
2968 of the command are currently supported:
3192 """Internal class. It wraps the command in the widget OptionMenu."""
3208 keyword argument command."""
3216 # 'command' is the only supported keyword
3217 callback = kwargs.get('command')
3218 if 'command' in kwargs:
3219 del kwargs['command']
3223 command=_setit(variable, value, callback))
3226 command=_setit(variable, v, callback))
3393 command, disabledbackground,
3423 deleted. This command returns an empty string.
3475 Typically this command is associated with a mouse button
3482 and the x argument to the last scan mark command
3485 difference in x-coordinates. This command is typically
3515 command has no effect. Returns an empty string.
3630 pathName sash dragto index x y This command computes the
3632 given to the last sash coord command for the given sash. It then
3663 specified with no value, then the command returns a list
3667 specified, then the command modifies the given widget
3669 command returns an empty string. The following options
3781 command=lambda root=root: root.test.configure(
3785 quit = Button(root, text="QUIT", command=root.destroy)