Added documentation for GtkDialog
[cl-gtk2.git] / gtk / gtk.package.lisp
blob800eeb9465bc2dd85ae5794f45fa7f0b44608d4f
1 (defpackage :gtk
2 (:use :cl :cffi :gobject :gdk :glib :iter)
3 (:export #:gtk-main
4 #:gtk-main-quit
5 #:dialog-run
6 #:object-destroy
7 #:text-buffer-insert
8 #:define-child-property
9 #:container-class-child-properties
10 #:generate-child-properties
11 #:tree-lisp-store
12 #:tree-lisp-store-root
13 #:tree-node
14 #:make-tree-node
15 #:tree-node-tree
16 #:tree-node-parent
17 #:tree-node-id
18 #:tree-node-item
19 #:tree-node-children
20 #:tree-node-insert-at
21 #:tree-node-remove-at
22 #:tree-node-child-at
23 #:tree-lisp-store-add-column
24 #:gtk-main-add-timeout
25 #:gtk-call-aborted
26 #:gtk-call-aborted-condition))
28 (defpackage :gtk-examples
29 (:use :cl :gtk :gdk :gobject)
30 (:export #:test-dialog))
32 (in-package :gtk)
34 (eval-when (:compile-toplevel :load-toplevel :execute)
35 (define-foreign-library gtk
36 (:unix (:or "libgtk-x11-2.0.so.0" "libgtk-x11-2.0.so"))
37 (t "libgtk-2.0")))
39 (use-foreign-library gtk)
41 #+sbcl (when (and (find-package "SB-EXT")
42 (find-symbol "SET-FLOATING-POINT-MODES" (find-package "SB-EXT")))
43 (funcall (find-symbol "SET-FLOATING-POINT-MODES" (find-package "SB-EXT")) :traps nil))