chiark / gitweb /
Updated to reflect current state
[clg] / gtk / defpackage.lisp
1 ;; Common Lisp bindings for GTK+ v2.0
2 ;; Copyright (C) 2000 Espen S. Johnsen <espejohn@online.no>
3 ;;
4 ;; This library is free software; you can redistribute it and/or
5 ;; modify it under the terms of the GNU Lesser General Public
6 ;; License as published by the Free Software Foundation; either
7 ;; version 2 of the License, or (at your option) any later version.
8 ;;
9 ;; This library is distributed in the hope that it will be useful,
10 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 ;; Lesser General Public License for more details.
13 ;;
14 ;; You should have received a copy of the GNU Lesser General Public
15 ;; License along with this library; if not, write to the Free Software
16 ;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
18 ;; $id$
19
20
21 (defpackage "GTK"
22   (:use "GLIB" "COMMON-LISP" "AUTOEXPORT")
23   #+cmu(:use "PCL" "EXT")
24   #+sbcl(:use "SB-PCL" "SB-EXT")
25   (:shadowing-import-from "GLIB" "DEFTYPE")
26   (:import-from #+cmu"PCL" #+sbcl"SB-PCL"
27            "ADD-READER-METHOD" "ADD-WRITER-METHOD")
28   (:import-from #+cmu"SYSTEM" #+sbcl"SB-SYS" "SAP-INT" "ADD-FD-HANDLER")
29   (:import-from #+cmu"LISP" #+sbcl"SB-IMPL"
30            "*PERIODIC-POLLING-FUNCTION*" "*MAX-EVENT-TO-SEC*" 
31            "*MAX-EVENT-TO-USEC*")               
32   (:export "*CLG-VERSION*")
33   (:export "OBJECT" "OBJECT-ARG" "OBJECT-SINK")
34   (:export "REGISTER-USER-DATA" "FIND-USER-DATA" "REGISTER-CALLBACK-FUNCTION"
35            "*CALLBACK-MARSHAL*" "*DESTROY-MARSHAL*")
36   (:export "EVENTS-PENDING-P" "GET-CURRENT-EVENT" "MAIN-DO-EVENT" "MAIN"
37            "MAIN-LEVEL" "MAIN-QUIT" "MAIN-ITERATION" "MAIN-ITERATE-ALL"
38            "TIMEOUT-ADD" "TIMEOUT-REMOVE" "IDLE-ADD" "IDLE-REMOVE")
39   (:export "SIGNAL-EMIT-STOP" "SIGNAL-CONNECT" "SIGNAL-DISCONNECT"
40            "SIGNAL-HANDLER-BLOCK" "SIGNAL-HANDLER-UNBLOCK")
41   (:export "OBJECT-CLASS" "WIDGET-CLASS" "CONTAINER-CLASS" "CHILD-CLASS"))