Hey Anthony, you should be able to to this combining surfaces, mouse,
events and the rect.collidepos() method to see what's been clicked.

The beginning tutorials should get you started
http://pygame.org/wiki/tutorials

If you're new to python, the python.org website has great stuff and I
also recommend this site:
http://www.swaroopch.com/notes/Python

Is that what you had in mind?




On Fri, Dec 2, 2011 at 3:02 PM, Nick Arnoeyts <nickarnoe...@gmail.com> wrote:
> I don't know how you would do this in pygame, but when I used Slick I did it
> by drawing rounded rectangles as windows.
> Try to be creative using the primitives pygame gives.
>
> 2011/12/2 Anthony Palomba <apalo...@austin.rr.com>
>>
>> Hy folks,
>>
>> I want to use pygame to create a simple interface. Ideally I want to be
>> able to create buttons, and handle key as well as mouse input.
>>
>> Are there examples some where that implement something like this?
>> Any advice would be welcome.
>>
>>
>>
>> Thanks,
>> Anthony
>
>



-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow

Reply via email to