Primitives Overview

All Vision2 primitives inherit EV_PRIMITIVE.

What is a primitive?

A primitive is a Vision2 widget that may not contain other widgets. Primitives may be placed in containers, but a widget may not contain any child widgets.  Some examples of primitives are EV_BUTTON and EV_LABEL.  A list of all the classes in the primitives cluster may be found here

Features of a primitive

All primitives inherit from EV_TOOLTIPABLE and therefore can have tooltips assigned to them. They all inherit many features from EV_WIDGET Each descendent of EV_PRIMITIVE will typically have many available features, specific to their type. For example, EV_SEPARATOR has no extra features, but EV_LABEL has features for modifying the current font and also the text to de displayed.

Widgets as item holders

Although no primitive can contain another widget, certain primitives may contain one or more items.  One example of this is an EV_LIST containing EV_LIST_ITEMs.