Overview
The Icon Editor allows you to define a class icon with graphic tools. The Icon Editor converts the resulting graphical description into G2 code, and sets this code as the value of the Icon-description attribute of the class definition.
If you prefer, you can define an icon with the Text Editor, by editing the text of the Icon-description attribute of the class definition. You can also use the Icon Editor and Text Editor together to define icons:
This chapter shows you how to use the Icon Editor to define icons, discusses textual icon editing, and shows you how to use the Icon and Text Editors together for icon definition. For information about the Text Editor, see Chapter 36, The Text Editor.
Icon Library
A library of prefabricated icons is available in kbicons.kb in the G2 demos directory, as described under Demonstration KBs.
Copyright © 1997 Gensym Corporation, Inc.