From: Enlightenment C. <no...@cv...> - 2007-11-05 23:01:41
|
Enlightenment CVS committal Author : barbieri Project : e17 Module : proto/python-efl Dir : e17/proto/python-efl/python-ecore/ecore/x Modified Files: __init__.py Log Message: Define some constants. =================================================================== RCS file: /cvs/e/e17/proto/python-efl/python-ecore/ecore/x/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- __init__.py 5 Nov 2007 21:50:55 -0000 1.2 +++ __init__.py 5 Nov 2007 22:52:56 -0000 1.3 @@ -78,3 +78,46 @@ ECORE_X_CURSOR_UR_ANGLE = 148 ECORE_X_CURSOR_WATCH = 150 ECORE_X_CURSOR_XTERM = 152 + +ECORE_X_WINDOW_CONFIGURE_MASK_X = 1 +ECORE_X_WINDOW_CONFIGURE_MASK_Y = 2 +ECORE_X_WINDOW_CONFIGURE_MASK_W = 4 +ECORE_X_WINDOW_CONFIGURE_MASK_H = 8 +ECORE_X_WINDOW_CONFIGURE_MASK_BORDER_WIDTH = 16 +ECORE_X_WINDOW_CONFIGURE_MASK_SIBLING = 32 +ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE = 64 + +ECORE_X_EVENT_MASK_NONE = 0L # 0L +ECORE_X_EVENT_MASK_KEY_DOWN = 1L # (1L << 0) +ECORE_X_EVENT_MASK_KEY_UP = 2L # (1L << 1) +ECORE_X_EVENT_MASK_MOUSE_DOWN = 4L # (1L << 2) +ECORE_X_EVENT_MASK_MOUSE_UP = 8L # (1L << 3) +ECORE_X_EVENT_MASK_MOUSE_IN = 16L # (1L << 4) +ECORE_X_EVENT_MASK_MOUSE_OUT = 32L # (1L << 5) +ECORE_X_EVENT_MASK_MOUSE_MOVE = 64L # (1L << 6) +ECORE_X_EVENT_MASK_WINDOW_DAMAGE = 32768L # (1L << 15) +ECORE_X_EVENT_MASK_WINDOW_VISIBILITY = 65536L # (1L << 16) +ECORE_X_EVENT_MASK_WINDOW_CONFIGURE = 131072L # (1L << 17) +ECORE_X_EVENT_MASK_WINDOW_RESIZE_MANAGE = 262144L # (1L << 18) +ECORE_X_EVENT_MASK_WINDOW_MANAGE = 524288L # (1L << 19) +ECORE_X_EVENT_MASK_WINDOW_CHILD_CONFIGURE = 1048576L # (1L << 20) +ECORE_X_EVENT_MASK_WINDOW_FOCUS_CHANGE = 2097152L # (1L << 21) +ECORE_X_EVENT_MASK_WINDOW_PROPERTY = 4194304L # (1L << 22) +ECORE_X_EVENT_MASK_WINDOW_COLORMAP = 8388608L # (1L << 23) +ECORE_X_EVENT_MASK_WINDOW_GRAB = 16777216L # (1L << 24) +ECORE_X_EVENT_MASK_MOUSE_WHEEL = 536870912L # (1L << 29) +ECORE_X_EVENT_MASK_WINDOW_FOCUS_IN = 1073741824L # (1L << 30) +ECORE_X_EVENT_MASK_WINDOW_FOCUS_OUT = 2147483648L # (1L << 31) + +ECORE_X_GRAVITY_FORGET = 0 +ECORE_X_GRAVITY_UNMAP = 0 +ECORE_X_GRAVITY_NW = 1 +ECORE_X_GRAVITY_N = 2 +ECORE_X_GRAVITY_NE = 3 +ECORE_X_GRAVITY_W = 4 +ECORE_X_GRAVITY_CENTER = 5 +ECORE_X_GRAVITY_E = 6 +ECORE_X_GRAVITY_SW = 7 +ECORE_X_GRAVITY_S = 8 +ECORE_X_GRAVITY_SE = 9 +ECORE_X_GRAVITY_STATIC = 10 |