SymbolLibrary
Object Hierarchy:
Description:
public class SymbolLibrary
Schematic symbol libraries
Content:
Creation methods:
Methods:
- public virtual bool add (File library)
Add a symbol folder to the library
- public void* find_item (LibraryItem item)
- public Symbol @get (string name)
Get a symbol from the library
- public int child_position (void* child)
Returns index of the child
- public string get_description (void* node)
Returns a description for this node
- public ProjectIcon get_icon (void* node)
Returns an icon for this node
- public LibraryItem get_item (void* node)
Returns the item for this node
- public string get_name (void* node)
Returns a name for this node
- public void* get_parent (void* child)
Returns the parent node
- public bool get_renamable (void* node)
Returns if the node contains a renamable item
- public bool is_leaf (void* node)
Is the given node a leaf node
- public int n_children (void* parent)
Get the number of children of a parent
- public void* next_sibling (void* node)
- public void* nth_child (void* parent, int index)
Get an indexed child of a parent
- public void remove_node (void* node)
Signals:
- public signal void node_changed (void* node)
Indicates a node changed in the library
- public signal void node_inserted (void* node)
Indicates a new node inserted into the library
- public signal void node_removed (void* parent, int index)
Indicates a node has been removed from the library
- public signal void symbol_used (Symbol symbol)
- public signal void symbol_unused (string name)