log dans un fichier horodaté.
[minwii.git] / src / pgu / gui / const.py
1 """Constants.
2 <br><br>
3 <strong>Event Types</strong>
4
5 <p>from pygame</p>
6 <dl>
7 <dt>QUIT
8 <dt>MOUSEBUTTONDOWN
9 <dt>MOUSEBUTTONUP
10 <dt>MOUSEMOTION
11 <dt>KEYDOWN
12 </dl>
13
14 <p>gui specific</p>
15 <dl>
16 <dt>ENTER
17 <dt>EXIT
18 <dt>BLUR
19 <dt>FOCUS
20 <dt>CLICK
21 <dt>CHANGE
22 <dt>OPEN
23 <dt>CLOSE
24 <dt>INIT
25 </dl>
26
27 <strong>Other</strong>
28 <dl>
29 <dt>NOATTR
30 </dl>
31 """
32 import pygame
33
34 from pygame.locals import QUIT, MOUSEBUTTONDOWN, MOUSEBUTTONUP, MOUSEMOTION, KEYDOWN, USEREVENT
35 ENTER = pygame.locals.USEREVENT + 0
36 EXIT = pygame.locals.USEREVENT + 1
37 BLUR = pygame.locals.USEREVENT + 2
38 FOCUS = pygame.locals.USEREVENT + 3
39 CLICK = pygame.locals.USEREVENT + 4
40 CHANGE = pygame.locals.USEREVENT + 5
41 OPEN = pygame.locals.USEREVENT + 6
42 CLOSE = pygame.locals.USEREVENT + 7
43 INIT = 'init'
44
45 class NOATTR: pass