if Event.type == VIDEORESIZE: size, w, h = event.size, event.w, event.h See: http://www.pygame.org/docs/ref/event.html
On Sunday, April 24, 2011, ANKUR AGGARWAL <coolankur2...@gmail.com> wrote: > Hey > I want to scale my image according to the size of the screen. If I am > using the resizable flag in the display how can i get the size of the > resized display?? In other words want to ask "How do you can the > size of the window when you change it's size with the RESIZABLE flag" > Thanks In Advance :):) > Ankur Aggarwal > -- Jake