How can i build the GUI inside the rendering display ?

We can draw stuff there.... but im not seeing how i can build a gui inside it, any tips ?