[pygobject] overrides: add constants for atoms



commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Sep 6 22:13:54 2011 +0200

    overrides: add constants for atoms

 gi/overrides/Gdk.py |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/gi/overrides/Gdk.py b/gi/overrides/Gdk.py
index 3485689..d94201e 100644
--- a/gi/overrides/Gdk.py
+++ b/gi/overrides/Gdk.py
@@ -292,6 +292,55 @@ def color_parse(color):
         return None
     return color
 
+# constants
+SELECTION_PRIMARY = Gdk.atom_intern('PRIMARY', True)
+__all__.append('SELECTION_PRIMARY')
+
+SELECTION_SECONDARY = Gdk.atom_intern('SECONDARY', True)
+__all__.append('SELECTION_SECONDARY')
+
+SELECTION_CLIPBOARD = Gdk.atom_intern('CLIPBOARD', True)
+__all__.append('SELECTION_CLIPBOARD')
+
+TARGET_BITMAP = Gdk.atom_intern('BITMAP', True)
+__all__.append('TARGET_BITMAP')
+
+TARGET_COLORMAP = Gdk.atom_intern('COLORMAP', True)
+__all__.append('TARGET_COLORMAP')
+
+TARGET_DRAWABLE = Gdk.atom_intern('DRAWABLE', True)
+__all__.append('TARGET_DRAWABLE')
+
+TARGET_PIXMAP = Gdk.atom_intern('PIXMAP', True)
+__all__.append('TARGET_PIXMAP')
+
+TARGET_STRING = Gdk.atom_intern('STRING', True)
+__all__.append('TARGET_STRING')
+
+SELECTION_TYPE_ATOM = Gdk.atom_intern('ATOM', True)
+__all__.append('SELECTION_TYPE_ATOM')
+
+SELECTION_TYPE_BITMAP = Gdk.atom_intern('BITMAP', True)
+__all__.append('SELECTION_TYPE_BITMAP')
+
+SELECTION_TYPE_COLORMAP = Gdk.atom_intern('COLORMAP', True)
+__all__.append('SELECTION_TYPE_COLORMAP')
+
+SELECTION_TYPE_DRAWABLE = Gdk.atom_intern('DRAWABLE', True)
+__all__.append('SELECTION_TYPE_DRAWABLE')
+
+SELECTION_TYPE_INTEGER = Gdk.atom_intern('INTEGER', True)
+__all__.append('SELECTION_TYPE_INTEGER')
+
+SELECTION_TYPE_PIXMAP = Gdk.atom_intern('PIXMAP', True)
+__all__.append('SELECTION_TYPE_PIXMAP')
+
+SELECTION_TYPE_WINDOW = Gdk.atom_intern('WINDOW', True)
+__all__.append('SELECTION_TYPE_WINDOW')
+
+SELECTION_TYPE_STRING = Gdk.atom_intern('STRING', True)
+__all__.append('SELECTION_TYPE_STRING')
+
 import sys
 
 initialized, argv = Gdk.init_check(sys.argv)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]