A simple decorater to add behaviour
to a gui component