About Widgets

Widgets are components that provide visualization. Using Px Editor, you work with widget properties to define user interface functions for control and information display.

User widgets can process input in the form of mouse, keyboard, and focus events. User events are grouped into these same event categories. The bajaui, kitPxGraphics, kitPxHvac, kitPx and kitPxN4svg modules all contain widgets that you can use for building rich user interfaces. You find these widgets by opening them under the Palette side bar or by using the Make Widget wizard.

A number of widgets have been added to the kitPxGraphics module:

  • high-detail images of several different actuators in both large and small sizes
  • static images of a controller in three different sizes
  • various animated widgets

Figure 8.   Widgets in the bajaui, kitPxGraphics, kitPxHvac, kitPx and kitPxN4svg palettes
Image

The widget tree side bar provides a good illustration of the hierarchy structure of all widgets in a Px file (refer to the Getting Started with Niagara for a summary).

Some complicated widgets have mini-frameworks all to their own, such as the table widget, tree widget, treeTable widget, and textEditor widget. Refer to the Niagara Developer Guide for more details about these types of widgets and for developer-level information about widgets.

The following sections discuss some of the primary characteristics of widgets.