How does a widget show up in game play?

Is it possible to show my widget on a game play? if so how?

Any help?