

pygame.QUIT is sent when the user has requested the program to When the display mode is set, several events are placed on the pygame event If a new display mode is set, the existing Surface willĪutomatically switch to operate on the new display. The Surface becomes invalid if the module is Once the display Surface is created, the functions from this module affect the () to query detailed information about the display.

Graphics cards and CRT screens, but is usually not needed any more. _desktop_sizes and then select appropriate window sizeĪnd display index to pass to _mode().įor backward compatibility pygame.display allows precise control over The number and size of attached screens, you can use With _mode() will close the previous display.


Pygame can only have a single display active at any time. These areĬontrolled by flags passed to _mode(). Special modules like automatic scaling or OpenGL support. Byĭefault, the display is a basic software driven framebuffer. The pygame display can actually be initialized in one of several modes. Both axes increase positively towards the bottom right of the screen. The origin of the display, where x = 0 and y = 0, is the top left of the Immediately visible onscreen you must choose one of the two flipping functions Once youĬreate the display you treat it as a regular Surface. Surface that is either contained in a window or runs full screen. This clock would be a good option for Mac users looking for a basic, but stylized clock for their dashboard.This module offers control over the pygame display. As the time changes, the clock mimics older, precomputer ones by having the numbers flip to the next.įlipClock for Mac performs only one function but it does it well. It contains the hour and minutes in white numbers on a black background. The clock, itself, is basic, just as advertised by the developers. This brings it into the widget menu where it can be moved into the active window. When testing the installation of the widget, it downloads into the applications menu, but the user must separately activate it from the dashboard menu before use. The application tells the time with a clock that features numbers that fall or flip down to the next.Īs a quite basic application, FlipClock for Mac downloads two separate ZIP files, one for a dashboard widget, and the other for a desktop application. For those who want a basic clock with the look of older time devices, FlipClock for Mac is an easy-to-use widget.
