Display additionnal data on mouse over text

If I want to display text when mouse over a text input or a button how can I do that. I know in documentation I got isMouseOver but how do you use it for the current need.