[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Underline Text on Focus



http://www.pygame.org/docs/ref/font.html#Font.set_underline

It looks like it may set an underline under all the text rendered using that Font, so I don't know if it'll work.

On Mon, May 9, 2011 at 12:08 AM, ANKUR AGGARWAL <coolankur2006@xxxxxxxxx> wrote:
I tried it and google it on the web too. It's not working :(


On Mon, May 9, 2011 at 3:40 AM, Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
ANKUR AGGARWAL wrote:
Hey I want to underline the text as soon as mouse gets focussed on it.

Haven't used it myself, but Fonts have a set_underline()
method that looks like it will do what you want.

--
Greg