2D Graphics > Prototypes > The User Interface and Commands > The Palettes Panel
 
The Palettes Panel
The Prototypes palette is included in the Palettes panel, as shown in The Palettes Panel Showing the samples Prototype Library. It shows the various prototype libraries that you have defined or loaded, and allows you to instantiate prototypes by dragging their icons to Prototype buffers. Prototypes are manipulated like other graphic objects. Each library defines its own panel in the Palettes panel.
The Palettes Panel Showing the samples Prototype Library
When the Prototypes extension is installed, Rogue Wave Views Studio loads the following libraries at start-up:
Library
Description
samples
Sample library loaded at start-up.
sources
Prototypes containing value sources.
output
Prototypes containing gadgets and defining output values.
lcd
LCD displays (one digit and four digits).
operations
Prototypes that can be used to connect prototypes and execute operations on their values.
script
Prototypes that use script accessors.
To open one of these prototype libraries, go to the upper pane of the Palettes panel and click the name in the Prototypes palette.
You can look at any prototype definition by double-clicking the prototype icon. This will load the prototype into a Prototype buffer window and open a Group Inspector panel.
Note: When you load a panel file that contains prototype instances, the required prototype libraries are automatically loaded in the Prototypes palette.
The <ILVHOME>/samples/protos directory provides other samples of how to use prototypes.

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.