changeset 24:4652f9744833

Added selection atoms
author unexist
date Fri, 22 Jan 2010 14:37:21 +0100
parents 8ba26b3c03fd
children 1a28b62792cf
files subtly/gdk.rb
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/subtly/gdk.rb	Fri Jan 22 13:44:35 2010 +0100
+++ b/subtly/gdk.rb	Fri Jan 22 14:37:21 2010 +0100
@@ -47,6 +47,7 @@
     # Parse key name
     #
     # @param  [String,  #read]   Color name
+    #
     # @return [Uint] Converted keyval
     ##
 
@@ -81,6 +82,7 @@
       )
     end # }}}
 
+    # Special keys
     Keys = enum(
       :return,    0xff0d,
       :escape,    0xff1b,
@@ -89,5 +91,12 @@
       :tab,       0xff09,
       :colon,     0x10020a1
     )
+
+    # List of selection atoms
+    Selections = enum(
+      :primary,   1,
+      :secondary, 2,
+      :clipboard, 69
+    )
   end
 end