~mdw
/
clg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GTK also required when using CLISP
[clg]
/
README
diff --git
a/README
b/README
index
f40642b
..
a44423f
100644
(file)
--- a/
README
+++ b/
README
@@
-1,5
+1,5
@@
This package contains Common Lisp bindings to GTK+ v2.x. It currently
This package contains Common Lisp bindings to GTK+ v2.x. It currently
-
only works with CMUCL 19 and SBCL 0.9, but p
orts to other CL
+
works with CMUCL 19, SBCL 0.9 and CLISP. P
orts to other CL
implementations may be added later.
implementations may be added later.
@@
-16,7
+16,7
@@
Build instructions
1. If you are using a version of SBCL without native callback support
you need to upgrade or add third party callback code. The following
1. If you are using a version of SBCL without native callback support
you need to upgrade or add third party callback code. The following
- instructions of how to add
third party callback support, are borrowed
+ instructions of how to add
callback support, are borrowed
from the Common Music installation guide:
1. Download Thomas Burdick's Alien Function packageĀ¹ and restore it
from the Common Music installation guide:
1. Download Thomas Burdick's Alien Function packageĀ¹ and restore it
@@
-53,8
+53,9
@@
Build instructions
- Make sure ASDF finds the system definition files:
(push
- Make sure ASDF finds the system definition files:
(push
- (logical-pathname-translations "clg:systems;")
- asdf:*central-registry*)
+ (translate-logical-pathname "clg:systems;")
+ asdf:*central-registry*)
+
When checking out of CVS also do the following:
$ cd <clg toplevel>
When checking out of CVS also do the following:
$ cd <clg toplevel>
@@
-82,6
+83,9
@@
Build instructions
#+sbcl(setq swank:*communication-style* :fd-handler)
#+sbcl(setq swank:*communication-style* :fd-handler)
+ CLISP needs to be started with the option '-ansi' for clg to
+ compile and load.
+
4. If everything worked, try (load "hello-world") to see a small
window pop up, and then run testgtk.lisp in the example directory.
4. If everything worked, try (load "hello-world") to see a small
window pop up, and then run testgtk.lisp in the example directory.
@@
-97,6
+101,11
@@
so it is also wise to check the source code.
- library prefixes are stripped from all symbols
- library prefixes are stripped from all symbols
+- object properties should be available as virtual slots. A lot of
+ "missing" properties are manually defined as slots. Slots may be read
+ only or write only, but there later type are generally only
+ defined automatically through introspection
+
- the get/set part are removed from regular accessors, but retained
in functions which set or retrieve multiple values
- the get/set part are removed from regular accessors, but retained
in functions which set or retrieve multiple values
@@
-109,9
+118,6
@@
so it is also wise to check the source code.
- there are no gtk_*_new functions, use MAKE-INSTANCE to create widgets
- there are no gtk_*_new functions, use MAKE-INSTANCE to create widgets
-- all object properties are available as virtual slots. A lot of
- "missing" properties are manually defined as slots
-
- use CHILD-PROPERTY-VALUE or automatically defined accessors to
access child properties
- use CHILD-PROPERTY-VALUE or automatically defined accessors to
access child properties