X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/4a8bb854f067550a460b2ab872db545c414b2986..14ac49ee8d7beed7f1355e6982889acbd82a8548:/gtk/gtk.lisp diff --git a/gtk/gtk.lisp b/gtk/gtk.lisp index 2e5e250..88c82b5 100644 --- a/gtk/gtk.lisp +++ b/gtk/gtk.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: gtk.lisp,v 1.68 2007/01/14 23:18:17 espen Exp $ +;; $Id: gtk.lisp,v 1.69 2007/01/14 23:22:16 espen Exp $ (in-package "GTK") @@ -2412,3 +2412,17 @@ (defmethod allocate-foreign ((plug plug) &key id) (%plug-new (or id 0))) + + +;;;; New stuff in Gtk+ 2.10 + +;;; Link button + +#?(pkg-exists-p "gtk+-2.0" :atleast-version "2.10.0") +(progn + (define-callback-marshal %link-button-uri-callback nil (link-button (link string))) + + (defbinding link-button-set-uri-hook (function) pointer + (%link-button-uri-callback callback) + ((register-callback-function function) unsigned-int) + (user-data-destroy-callback callback)))