X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/73572c12ccd49c661d06287903bfa725f5fd93a5..f669d557d2ed78a18912095334a31fb9796e4231:/gtk/defpackage.lisp diff --git a/gtk/defpackage.lisp b/gtk/defpackage.lisp index d80da7f..51e6171 100644 --- a/gtk/defpackage.lisp +++ b/gtk/defpackage.lisp @@ -1,41 +1,24 @@ -;; Common Lisp bindings for GTK+ v2.0 -;; Copyright (C) 2000 Espen S. Johnsen -;; -;; This library is free software; you can redistribute it and/or -;; modify it under the terms of the GNU Lesser General Public -;; License as published by the Free Software Foundation; either -;; version 2 of the License, or (at your option) any later version. -;; -;; This library is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; Lesser General Public License for more details. -;; -;; You should have received a copy of the GNU Lesser General Public -;; License along with this library; if not, write to the Free Software -;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -;; $id$ - - (defpackage "GTK" - (:use "GLIB" "COMMON-LISP" "AUTOEXPORT") + (:use "GFFI" "GLIB" "COMMON-LISP" "AUTOEXPORT" "PKG-CONFIG" "CLG-UTILS") #+cmu(:use "PCL" "EXT") #+sbcl(:use "SB-PCL" "SB-EXT") - (:shadowing-import-from "GLIB" "DEFTYPE") + #+clisp(:use "CLOS") + #+clisp(:shadowing-import-from "GFFI" "SLOT-DEFINITION-TYPE") + #+(or cmu sbcl) (:import-from #+cmu"PCL" #+sbcl"SB-PCL" "ADD-READER-METHOD" "ADD-WRITER-METHOD") + #+(or cmu sbcl) (:import-from #+cmu"SYSTEM" #+sbcl"SB-SYS" "SAP-INT" "ADD-FD-HANDLER") + #+(or cmu sbcl) (:import-from #+cmu"LISP" #+sbcl"SB-IMPL" "*PERIODIC-POLLING-FUNCTION*" "*MAX-EVENT-TO-SEC*" "*MAX-EVENT-TO-USEC*") - (:export "*CLG-VERSION*") - (:export "OBJECT" "OBJECT-ARG" "OBJECT-SINK") - (:export "REGISTER-USER-DATA" "FIND-USER-DATA" "REGISTER-CALLBACK-FUNCTION" - "*CALLBACK-MARSHAL*" "*DESTROY-MARSHAL*") (:export "EVENTS-PENDING-P" "GET-CURRENT-EVENT" "MAIN-DO-EVENT" "MAIN" - "MAIN-LEVEL" "MAIN-QUIT" "MAIN-ITERATION" "MAIN-ITERATE-ALL" - "TIMEOUT-ADD" "TIMEOUT-REMOVE" "IDLE-ADD" "IDLE-REMOVE") + "MAIN-LEVEL" "MAIN-QUIT" "MAIN-ITERATION-DO" "MAIN-ITERATE-ALL") + (:export "CONTAINER-CHILD-CLASS" "CONTAINER-CHILD") + ;; Signal names that need to be explicit exported + (:export "TOGGLED") + ;; Symbols re-exported from glib (:export "SIGNAL-EMIT-STOP" "SIGNAL-CONNECT" "SIGNAL-DISCONNECT" - "SIGNAL-HANDLER-BLOCK" "SIGNAL-HANDLER-UNBLOCK") - (:export "OBJECT-CLASS" "WIDGET-CLASS" "CONTAINER-CLASS" "CHILD-CLASS")) + "SIGNAL-HANDLER-BLOCK" "SIGNAL-HANDLER-UNBLOCK" + "TIMEOUT-ADD" "TIMEOUT-REMOVE" "IDLE-ADD" "IDLE-REMOVE"))