1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./style.css" />
7 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./design.css" />
8 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"./print.css" />
10 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
15 <h2 class=
"sectionedit295"><a name=
"guile_scripting" id=
"guile_scripting">Guile scripting
</a></h2>
19 <!-- EDIT295 SECTION "Guile scripting" [1-31] -->
20 <h3 class=
"sectionedit296"><a name=
"tutorials" id=
"tutorials">Tutorials
</a></h3>
23 <li class=
"level1"><div class=
"li"> <a href=
"geda-gnetlist_scheme_tutorial.html" class=
"wikilink1" title=
"geda-gnetlist_scheme_tutorial.html">Scripting a gnetlist backend in scheme
</a> (John Doty)
</div>
25 <li class=
"level1"><div class=
"li"> See also the
<a href=
"geda-gnetlist_ug.html#scheme_backend_api" class=
"wikilink1" title=
"geda-gnetlist_ug.html">Scheme Backend API
</a> section of the gnetlist User Guide
</div>
30 <!-- EDIT296 SECTION "Tutorials" [32-249] -->
31 <h3 class=
"sectionedit297"><a name=
"libgeda_c_library_reference" id=
"libgeda_c_library_reference">libgeda C library reference
</a></h3>
36 libgeda defines a number of low-level functions in C for configuring its behaviour and manipulating features such as the component and subcircuit libraries.
41 <h4><a name=
"types" id=
"types">Types
</a></h4>
44 <li class=
"level1"><div class=
"li"> attribute
</div>
46 <li class=
"level1"><div class=
"li"> object
</div>
48 <li class=
"level1"><div class=
"li"> page
</div>
54 <h4><a name=
"variables" id=
"variables">Variables
</a></h4>
59 Basic configuration (defined by libgeda, read-only)
63 <li class=
"level1"><div class=
"li"> path-sep
</div>
65 <li class=
"level1"><div class=
"li"> geda-rc-path
</div>
67 <li class=
"level1"><div class=
"li"> geda-data-path
</div>
73 Object type identifiers (defined by libgeda, read-only)
77 <li class=
"level1"><div class=
"li"> OBJ_LINE
</div>
79 <li class=
"level1"><div class=
"li"> OBJ_BOX
</div>
81 <li class=
"level1"><div class=
"li"> OBJ_PICTURE
</div>
83 <li class=
"level1"><div class=
"li"> OBJ_CIRCLE
</div>
85 <li class=
"level1"><div class=
"li"> OBJ_NET
</div>
87 <li class=
"level1"><div class=
"li"> OBJ_BUS
</div>
89 <li class=
"level1"><div class=
"li"> OBJ_COMPLEX
</div>
91 <li class=
"level1"><div class=
"li"> OBJ_TEXT
</div>
93 <li class=
"level1"><div class=
"li"> OBJ_
<acronym title=
"Personal Identification Number">PIN
</acronym></div>
95 <li class=
"level1"><div class=
"li"> OBJ_ARC
</div>
97 <li class=
"level1"><div class=
"li"> OBJ_ROUTE
</div>
99 <li class=
"level1"><div class=
"li"> OBJ_THRU_HOLE
</div>
101 <li class=
"level1"><div class=
"li"> OBJ_PLACEHOLDER
</div>
107 <h4><a name=
"functions" id=
"functions">Functions
</a></h4>
116 <li class=
"level1"><div class=
"li"> component-library
</div>
118 <li class=
"level1"><div class=
"li"> component-library-command
</div>
120 <li class=
"level1"><div class=
"li"> component-library-funcs
</div>
122 <li class=
"level1"><div class=
"li"> component-library-search
</div>
124 <li class=
"level1"><div class=
"li"> reset-component-library
</div>
134 <li class=
"level1"><div class=
"li"> source-library
</div>
136 <li class=
"level1"><div class=
"li"> source-library-search
</div>
138 <li class=
"level1"><div class=
"li"> reset-source-library
</div>
144 Libgeda behaviour configuration (write-only):
148 <li class=
"level1"><div class=
"li"> always-promote-attributes
</div>
150 <li class=
"level1"><div class=
"li"> attribute-promotion
</div>
152 <li class=
"level1"><div class=
"li"> bitmap-directory
</div>
154 <li class=
"level1"><div class=
"li"> bus-ripper-symname
</div>
156 <li class=
"level1"><div class=
"li"> font-directory
</div>
158 <li class=
"level1"><div class=
"li"> keep-invisible
</div>
160 <li class=
"level1"><div class=
"li"> map-font-character-to-file
</div>
162 <li class=
"level1"><div class=
"li"> postscript-prolog
</div>
164 <li class=
"level1"><div class=
"li"> promote-invisible
</div>
166 <li class=
"level1"><div class=
"li"> scheme-directory
</div>
168 <li class=
"level1"><div class=
"li"> untitled-name
</div>
170 <li class=
"level1"><div class=
"li"> world-size
</div>
176 Smob type manipulators:
180 <li class=
"level1"><div class=
"li"> get-attribute-name-value
</div>
182 <li class=
"level1"><div class=
"li"> get-attribute-bounds
</div>
184 <li class=
"level1"><div class=
"li"> get-attribute-angle
</div>
186 <li class=
"level1"><div class=
"li"> calcule-new-attrib-bounds
</div>
188 <li class=
"level1"><div class=
"li"> get-object-attributes
</div>
190 <li class=
"level1"><div class=
"li"> get-attrib-value-by-attrib-name
</div>
192 <li class=
"level1"><div class=
"li"> get-object-type
</div>
194 <li class=
"level1"><div class=
"li"> get-line-width
</div>
196 <li class=
"level1"><div class=
"li"> get-page-filename
</div>
201 <!-- EDIT297 SECTION "libgeda C library reference" [250-1700] -->
202 <h3 class=
"sectionedit298"><a name=
"libgeda_gedascm" id=
"libgeda_gedascm">libgeda geda.scm
</a></h3>
207 geda.scm, installed with libgeda, provides several useful functions for doing simple manipulation of paths and files, as well as loading rc files from gafrc.d directories.
212 <h4><a name=
"functions1" id=
"functions1">Functions
</a></h4>
215 <li class=
"level1"><div class=
"li"> build-path
</div>
217 <li class=
"level1"><div class=
"li"> regular-file?
</div>
219 <li class=
"level1"><div class=
"li"> directory?
</div>
221 <li class=
"level1"><div class=
"li"> has-suffix?
</div>
223 <li class=
"level1"><div class=
"li"> load-scheme-dir
</div>
228 <!-- EDIT298 SECTION "libgeda geda.scm" [1701-] --></body>