You have to use delegates for that. See "Delegate Classes" and/or "An Introduction to Model/View Programming" in the documentation for a first start.