de_define_palette_group()
Defines a palette group. The palette group is displayed in the palette dialog. Bitmaps for the components are displayed in the active palette (if defined for the component, otherwise the component name appears). Returns: none.
| Note This function should be called at bootup for the palette to be displayed in the palette dialog. |
Syntax:
de_define_palette_group(winType, dsnType, groupName, groupLabel, position, item1name, item1label, item1bitmap name[, item2name, item2 label, item2 bitmap name, ...] );
where
winType is the type of window, where:
- SCHEM_WIN = Schematic window
- LAYOUT_WIN = Layout window
dsnType is the name for each design type, such as analogRF_net or sigproc_net.
groupName is the name of the palette group.
groupLabel is the descriptive label for the group.
position is an integer: -1 to alphabetically sort the list of palettes after adding the new palette, -2 to append the new palette at the end, any other integer (0 or greater) to insert the new palette in the specified position in the list of palettes.
item1name is the first component name.
item1label is the first component label.
item1bitmap name is the first component bitmap file name.
item2name is optional; the second component name.
item2label is optional; the second component label.
item2bitmap name is optional; the second component bitmap file name.
Example:
de_define_palette_group(SCHEM_WIN, "analogRF_net", "mypal", "My palette", -2, "R", "Resistor", "R", "C", "Capacitor", "C");
Where Used:
Schematic
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()