pythonware.com | products ::: library ::: search ::: daily Python-URL! |
Event callbacksEvent callbacksAll event callbacks take one argument; an event descriptor. See the introduction for more information on this descriptor. bindbind(sequence, callback), bind(sequence, callback, "+"). Add an event binding to self. Usually, the new binding replaces any existing binding for the same event sequence. The second form can be used to add the new callback to the existing binding. unbindunbind(sequence). Remove any bindings for the given event sequence, for self. bind_allbind_all(sequence, callback), bind_all(sequence, callback, "+"). Add an event binding to the application level. Usually, the new binding replaces any existing binding for the same event sequence. The second form can be used to add the new callback to the existing binding. unbind_allunbind_all(sequence). Remove any bindings for the given event sequence, on the application level. bind_classbind_class(class, sequence, func), bind_class(class, sequence, func, "+"). Add an event binding to the given widget class. Usually, the new binding replaces any existing binding for the same event sequence. The second form can be used to add the new callback to the existing binding. unbind_classunbind_class(class, sequence). Remove any bindings for the given event sequence, for the given binding class. bindtagsbindtags(). Return a tuple containing the binding search order used for self. By default, this tuple contains the self's widget name (str(self)), the widget class (e.g. Button), the root window's name, and finally the special name all which refers to the application level. bindtagsbindtags(bindings). Modify the binding search order for self. |