setGhostText function

Set ghost text