You can try pygame.draw.line() to draw a line where you want it under the
text on mouseover:
http://www.pygame.org/docs/ref/draw.html#pygame.draw.line
On Mon, May 9, 2011 at 1:54 AM, Scribble Master wrote:
> http://www.pygame.org/docs/ref/font.html#Font.set_underline
>
> It looks like it may set
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 wrote:
> I tried it and google it on the web too. It's not working :(
>
>
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 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 li
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
Hey I want to underline the text as soon as mouse gets focussed on it. Can
you please tell me the algo for that
Thanks In Advance
Ankur Aggarwal