Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Yes, Your correct in that because I am so use to all tar stuff being only for linux and just ignore it. I never checked to see if there was an option for it with the unzip I have. But now I do have it running and need another example of the mouse and button action. The first one I wa

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Greg Ewing
Dave LeCompte (really) wrote: My question is what's wrong with .tar.gz for the original poster He may simply not have realised that ocempgui is pure Python, and therefore doesn't need a special version for Windows. -- Greg Ewing, Computer Science Dept, +--+

[pygame] video error

2007-09-26 Thread Eric Hunter
can't understand why I'm getting this error. everything looks okay to me. but then again I'm a newbie. thanks in advance. Traceback (most recent call last): File "las.py", line 54, in class PygameClass(): File "las.py", line 78, in PygameClass for event in pygame.event.get(): pygame.e

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Hi! This is the file I ran to see how my screen reader would read it. I changed it to keep the buttons apart more instead of 10 I put 40 and it did not make any difference. I noticed just only one graphic symbol present. I labeled it and the ladle stayed the same for both, that means t

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Hi! I can check them out but I do have it unzipped now. It appears to run for the button demo works, but... I have an unzip and did not check options in it for .gz and see if there is any. It places an extract all in the file menu. But there has to be a setup for other types, I will ch

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Richard Jones
On Thu, 27 Sep 2007, Dave LeCompte (really) wrote: > Two easy ways of extracting such files come to mind right away: install > cygwin http://www.cygwin.com/ and use the command line, or install winzip > http://www.winzip.com/index.htm and use a GUI. I'm sure there are other > approaches that cover

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Thanks! I just downloaded it and will unzip it and see what happens next. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ethan Glasser-Camp wrote: > RR4CLB wrote: >> I could not find a zip file for OcempGUI so I assume it does not exist. If you meant "I assume a zip file does not exist"

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Yes, I can not open a .gz for windows. That is what I said, I could not find it for windows. Bruce -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RR4CLB wrote: > I could not find a zip file for OcempGUI so I assume it does not exist. Hi, This is not always a good assumption to m

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Dave LeCompte (really)
"Ethan Glasser-Camp" <[EMAIL PROTECTED]> gave a man a fish: > Anyhow, here's a zip file of OcempGUI, converted from the .tar.gz: My question is what's wrong with .tar.gz for the original poster - as has been mentioned, it's a very common distribution format, and rather than converting everything t

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Ethan Glasser-Camp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ethan Glasser-Camp wrote: > RR4CLB wrote: >> I could not find a zip file for OcempGUI so I assume it does not exist. If you meant "I assume a zip file does not exist", then you were right, and I apologize for misinterpreting :). I thought you mean

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Ethan Glasser-Camp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RR4CLB wrote: > I could not find a zip file for OcempGUI so I assume it does not exist. Hi, This is not always a good assumption to make. I searched Google for "OcempGUI". The first hit was: http://ocemp.sourceforge.net/gui.html There is a se

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Marcus, I could not find a zip file for OcempGUI so I assume it does not exist. So the example can not be run unless I use something else. Bruce On, Wed Sep 26, 2007, RR4CLB wrote: > Hi! > > The reading I did today is getting a little more clear on these > issues, but havi

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
I could not run it because this was not found. I tried finding a download for it and none for windows. just a .gz Error: ocempgui.widgets Module not found! [Example request] I attached a small OcempGUI example script, which will create two buttons on a pygame window and print their text to

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Marcus von Appen
On, Wed Sep 26, 2007, RR4CLB wrote: [Example request] I attached a small OcempGUI example script, which will create two buttons on a pygame window and print their text to the console whenever they receive focus. The code aligns them beneath each other using a spacing of 10 pixels between them. Th

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Marcus von Appen
On, Wed Sep 26, 2007, RR4CLB wrote: [Example request] I attached a small OcempGUI example script, which will create two buttons on a pygame window and print their text to the console whenever they receive focus. The code aligns them beneath each other using a spacing of 10 pixels between them. Th

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Marcus von Appen
On, Wed Sep 26, 2007, RR4CLB wrote: > Hi! > > The reading I did today is getting a little more clear on these > issues, but having something to experiment with would be great. [Layout description] Regarding that the screen consists of three areas aranged in a horizontal manner. On the top t

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Ian Mallett
On 9/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > then at a > Python console or in a program type: > import python > python.init() > screen = pygame.display.set_mode((640,480)) ## Or another size No, Python is already init-ed. Do: import pygame pygame.init() screen = pygame.display.set_

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Hi! H, maybe, unless each program is done on a different screen. like a DOS window verses a graphical screen. Like the mixer program I just posted. I added comments in it from what I discovered and such. Now the cursor locations and such may work for a text version, but the buttons and

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Ulf Ekström
I think you will find it very difficult to make a pygame application accessible to people with screenreaders, since it has no concept of "text", "buttons" etc. There is literally only a collection of pixels in memory. Regards, Ulf

Re: [pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Hi! I read a little more about the structure and such. It is slowly getting better to understand. What you have written below is what I need to fully understand this. I did read on the groups thing but trying to understand how to look at the list and grab from the list is what seems to be a

[pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Hi! The reading I did today is getting a little more clear on these issues, but having something to experiment with would be great. Now the buttons and such as I have on my Java script web page, the screen for images and such is at the lower half of the screen. The user input is at the

Re: [pygame] Tutorial... GUI

2007-09-26 Thread kschnee
On Wed, September 26, 2007 2:07 pm, RR4CLB wrote: > I have asked about tutorials and a good explanation on how to place a > button or radial button on a page and I can not seem to find a good > explanation or location to clearly give those examples. I was given a > reference to GUI's and that to wa

Re: [pygame] Tutorial... GUI

2007-09-26 Thread Marcus von Appen
On, Wed Sep 26, 2007, RR4CLB wrote: > > Hi! > > I have asked about tutorials and a good explanation on how to > place a button or radial button on a page and I can not seem to find a > good explanation or location to clearly give those examples. I was > given a reference to GUI's and that to

[pygame] Tutorial... GUI

2007-09-26 Thread RR4CLB
Hi! I have asked about tutorials and a good explanation on how to place a button or radial button on a page and I can not seem to find a good explanation or location to clearly give those examples. I was given a reference to GUI's and that to was hard to figure out, especially for a blind