added get-clipboard
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Wed, 18 Mar 2009 23:18:19 +0000 (02:18 +0300)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Wed, 18 Mar 2009 23:18:19 +0000 (02:18 +0300)
gtk/gtk.misc.lisp

index f20f586..0c8cff1 100644 (file)
@@ -2,3 +2,8 @@
 
 (defcallback stable-pointer-free-destroy-notify-callback :void ((data :pointer))
   (free-stable-pointer data))
+
+(defcfun (get-clipboard "gtk_clipboard_get") g-object
+  (selection gdk-atom-as-string))
+
+(export 'get-clipboard)
\ No newline at end of file