Re: [pygame] Using pygame to create interface...
See also: project's tagged #gui at http://www.pygame.org/tags/gui -- Jake
Re: [pygame] Using pygame to create interface...
Hey y'all Thanks for the suggestions. After looking at things, I think Pyslide would be the best thing to start working with. Anthony On Sat, Dec 3, 2011 at 10:37 AM, Jake b ninmonk...@gmail.com wrote: See also: project's tagged #gui at http://www.pygame.org/tags/gui -- Jake
Re: [pygame] Using pygame to create interface...
The PySide bindings to Qt are very easy to pick up and Qt looks nice on every platform :D On Sat, Dec 3, 2011 at 11:56 AM, Anthony Palomba apalo...@austin.rr.com wrote: Hey y'all Thanks for the suggestions. After looking at things, I think Pyslide would be the best thing to start working with. Anthony On Sat, Dec 3, 2011 at 10:37 AM, Jake b ninmonk...@gmail.com wrote: See also: project's tagged #gui at http://www.pygame.org/tags/gui -- Jake -- Ryan Hope, M.S. CogWorks Lab Department of Cognitive Science Rensselaer Polytechnic Institute
[pygame] Using pygame to create interface...
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
Re: [pygame] Using pygame to create interface...
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
Re: [pygame] Using pygame to create interface...
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
Re: [pygame] Using pygame to create interface...
You can use wxPython, if you like learning curves and nice graphics.
Re: [pygame] Using pygame to create interface...
PySide + QT is really nice too. But more back to the point of staying within pygame. A simple widget set for PyGame would be quite nice. On Fri, Dec 2, 2011 at 2:02 PM, Ian Mallett geometr...@gmail.com wrote: You can use wxPython, if you like learning curves and nice graphics. -- Ryan Hope, M.S. CogWorks Lab Department of Cognitive Science Rensselaer Polytechnic Institute
Re: [pygame] Using pygame to create interface...
also tkinter right? On Fri, Dec 2, 2011 at 5:45 PM, Ryan Hope rmh3...@gmail.com wrote: PySide + QT is really nice too. But more back to the point of staying within pygame. A simple widget set for PyGame would be quite nice. On Fri, Dec 2, 2011 at 2:02 PM, Ian Mallett geometr...@gmail.com wrote: You can use wxPython, if you like learning curves and nice graphics. -- Ryan Hope, M.S. CogWorks Lab Department of Cognitive Science Rensselaer Polytechnic Institute -- 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
Re: [pygame] Using pygame to create interface...
I think tkinter is great but it's not OOP at all so of that's what you after I'd hit up wx -Zack On Dec 2, 2011, at 4:14 PM, Sean Wolfe ether@gmail.com wrote: also tkinter right? On Fri, Dec 2, 2011 at 5:45 PM, Ryan Hope rmh3...@gmail.com wrote: PySide + QT is really nice too. But more back to the point of staying within pygame. A simple widget set for PyGame would be quite nice. On Fri, Dec 2, 2011 at 2:02 PM, Ian Mallett geometr...@gmail.com wrote: You can use wxPython, if you like learning curves and nice graphics. -- Ryan Hope, M.S. CogWorks Lab Department of Cognitive Science Rensselaer Polytechnic Institute -- 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
Re: [pygame] Using pygame to create interface...
I think it would depend on what sort of look and feel you're going for. Pygame would probably be great for making something simple and highly graphical, like a bunch of graphical buttons. But if you want something more complicated than that (menubars, toolbars, child windows, even groups of buttons, etc.), or something that automatically adjusts to the look and feel of the OS its running on, you probably want wxPython. I personally think its worthwhile to learn to write wxPython guis directly, though there is a learning curve. But lots of people say good things about Boa Constructor and similar packages too. On Fri, Dec 2, 2011 at 1:28 PM, Zack Baker zbaker1...@gmail.com wrote: I think tkinter is great but it's not OOP at all so of that's what you after I'd hit up wx -Zack On Dec 2, 2011, at 4:14 PM, Sean Wolfe ether@gmail.com wrote: also tkinter right? On Fri, Dec 2, 2011 at 5:45 PM, Ryan Hope rmh3...@gmail.com wrote: PySide + QT is really nice too. But more back to the point of staying within pygame. A simple widget set for PyGame would be quite nice. On Fri, Dec 2, 2011 at 2:02 PM, Ian Mallett geometr...@gmail.com wrote: You can use wxPython, if you like learning curves and nice graphics. -- Ryan Hope, M.S. CogWorks Lab Department of Cognitive Science Rensselaer Polytechnic Institute -- 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