Add text box to grasshopper component

Hi,
If I want to add text boxes next to the inputs of my grasshopper component, how should I do that? I managed to add capsule next to the inputs, but struggle to inplement the RespondToMouseDown() and GH_TextBoxInputBase class. Thanks in advance!

Tommy