chiark / gitweb /
Bug fix
[clg] / README
diff --git a/README b/README
index d05989269d471bf01c225b1672bf07d339112223..337eff7475b6261bbb01610f80c60da82296664e 100644 (file)
--- a/README
+++ b/README
@@ -38,23 +38,13 @@ Build instructions
 
 2. Set up paths to match your system:
 
-   - Add a logical-pathname-translation to the clg root directory in
-     ~/.cmucl-init.lisp, ~/.sbclrc or some other startup file, like
-     this:
-
-       (setf
-         (logical-pathname-translations "clg")
-         '(("**;*.*.*" "/home/espen/src/clg/**/")))
-
    - Set the correct pkg-config search path if your Gtk+ installation
      is in an unusual place, by adding it to the PKG_CONFIG_PATH
      environment variable before starting lisp.
 
    - Make sure ASDF finds the system definition files:
        
-       (push
-        (translate-logical-pathname "clg:systems;")
-         asdf:*central-registry*)
+       (push "/path/to/clg/systems/" asdf:*central-registry*)
 
 
      When checking out of CVS also do the following:
@@ -101,6 +91,11 @@ so it is also wise to check the source code.
 
 - 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
 
@@ -113,9 +108,6 @@ so it is also wise to check the source code.
 
 - 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
 
@@ -123,6 +115,35 @@ so it is also wise to check the source code.
 
 - the only function used to connect signals is SIGNAL-CONNECT
 
+- some additional initargs to make-instance:
+
+  - gtk:container
+
+    child -- adds a child to a container widget. This argument could
+    be a widget or a list who's first element is a widget and the rest
+    child properties. Multiple :child initargs may be specified
+
+    children -- list of children to be added
+
+    child-args -- default child properties used when adding children (during
+    construction only)
+
+    show-children -- automatically make children (and grandchildren)
+    visible. May be overridden in a child by explicit specifying :visible or
+    another :show-children
+
+
+  - gtk:button
+
+    stock -- equivalent to ":label stock :use-stock t :use-underline t"
+
+
+  - gtk:dialog
+
+    button -- button specification applied to dialog-add-button. Multiple
+    :button initargs may be specified
+
+    buttons -- list of button specifications