[solved] How to display content in a widget?

Could you answer my initial queation, about function binding?