To use the functions described in this section, you will need to load
the (gschem attrib)
module.
Create a new attribute, either attached to a target
object
in the currentpage
, or floating in the currentpage
if target is ‘#f’. The name and value for the attribute must be strings, and if visible is ‘#f’, the attribute will be invisible. The show argument controls which parts of the attribute will be visible, and must be one of the following symbols:
- ‘name’
- ‘value’
- ‘both’
This function exists to provide a way for actions defined in Scheme to use the same attribute placement heuristics as gschem's built-in Add Attribute action.
See Text, Attributes and Windows and views.
To use the functions described in this section, you will need to load
the (gschem util)
module.