doc: clarified object binding

This commit is contained in:
Zen-CODE 2014-05-17 07:35:51 +02:00
parent 439c4b68e3
commit cce053ce2c
1 changed files with 2 additions and 2 deletions

View File

@ -247,8 +247,8 @@ cdef class EventDispatcher(ObjectWithUid):
super(DemoBox, self).__init__(**kwargs)
self.orientation = "vertical"
# We start with standard binding to a standard event. The only argument
# passed to the callback is the object on which the event has occurred.
# We start with binding to a normal event. The only argument
# passed to the callback is the object which we have bound to.
btn = Button(text="Normal binding to event")
btn.bind(on_press=self.on_event)