[Github-comments] [geany/geany] Geany as IDE for Python-Pygame (#1005)

Amir Teymuri notifications at xxxxx
Sat Apr 23 19:02:08 UTC 2016


I have started to use Geany 1.25 as IDE for pygame, so i am not quit sure whether this i a geany bug or i am doing something wrong. I tested the following and the problem is that by clicking on the close button nothing happens and the pygame window dosn't close (which actually should happen!). Can anyone help me with this? I am on an ubuntu 15.10 machine and have installed geany from its software center.
 


import pygame
from pygame.locals import *

pygame.init()

RED=(100,0,0)

screen=pygame.display.set_mode([500,500])

screen.fill(RED)

runs=True

while runs:
	for e in pygame.event.get():
		if e.type==QUIT:
			runs==False
	pygame.display.flip()
			
pygame.quit()


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160423/9eec9b47/attachment.html>


More information about the Github-comments mailing list