#1701 NORM Untriag: Make pygame.display.set_mode set the mode
Zarro Boogs per Child
bugtracker at laptop.org
Thu Jun 14 00:59:50 EDT 2007
#1701: Make pygame.display.set_mode set the mode
--------------------------+-------------------------------------------------
Reporter: lincolnquirk | Owner: lincolnquirk
Type: enhancement | Status: new
Priority: normal | Milestone: Untriaged
Component: games | Version:
Keywords: pygame | Verified: 0
--------------------------+-------------------------------------------------
It would be nice if the set_mode method actually set the mode rather than
just returning the current mode as set by the wrapper. Can it do this?
<lincolnquirk> coderanger, could the pygame.display.set_mode method be
hijacked in the wrapper to make it ask GTK for a resize first, then
forward the resize onto Pygame?[[BR]]
<coderanger> lincolnquirk: I tried that, but the pygame init is so slow
that there is a noticeable jitter[[BR]]
<coderanger> lincolnquirk: You could try to do some monkeying so that the
eventbox pygame is painting in is realized but not visible[[BR]]
<coderanger> it has to be shown (realized) before you can pull the window
ID off it
--
Ticket URL: <http://dev.laptop.org/ticket/1701>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list