Reference to Widget not working?

This is not working, is it the same for a variable reference of a widget?