![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
The following table lists the Photon widget classes and the icons used in PhAB's widget palette. For more information on specific widget classes, see the Photon Widget Reference.
| PhAB Icon | Class | Description | 
|---|---|---|
 
     | 
PtArc | An elliptical arc | 
 
     | 
PtBarGraph | Bar graph | 
 
     | 
PtBasic | A superclass of basic resources for most widgets | 
 
     | 
PtBezier | Bézier curve | 
 
     | 
PtBkgd | Background of tiled images, gradients, or bitmaps | 
 
     | 
PtButton | A button for initiating an action | 
 
     | 
PtCalendar | Calendar | 
| N/A | PtClient | Superclass for client widgets -- not normally instantiated | 
 
     | 
PtClock | Analog, digital, or LED clock | 
 
     | 
PtColorPanel | A color panel | 
 
     | 
PtColorPatch | A widget for selecting a hue and shading or tint | 
| N/A | PtColorSel | Superclass for color-selector widgets--not normally instantiated | 
 
     | 
PtColorSelGroup | A group of color selectors | 
 
     | 
PtColorWell | A rectangle that displays a color and lets you change it | 
 
     | 
PtComboBox | Text-entry field with a list of choices | 
| N/A | PtCompound | Superclass for compound widgets--not normally instantiated | 
 
     | 
PtContainer | Superclass for container widgets | 
| N/A | PtDisjoint | Superclass for disjoint widgets--not normally instantiated | 
 
     | 
PtDivider | Widget that divides a given space among its child widgets and allows resizing | 
 
     | 
PtEllipse | Ellipse | 
 
     | 
PtFileSel | A tree widget for selecting files and directories | 
 
     | 
PtFontSel | A widget for selecting font attributes | 
| N/A | PtGauge | Superclass for gauge-like widgets--not normally instantiated | 
| N/A | PtGenList | Superclass for list widgets--not normally instantiated | 
| N/A | PtGenTree | Superclass for tree widgets--not normally instantiated | 
| N/A | PtGraphic | Superclass for graphical widgets--not normally instantiated | 
 
     | 
PtGrid | Grid pattern | 
| N/A | PtGroup | Group--use PhAB's Group Together button to create this | 
 
     | 
PtImageArea | An area for viewing an image | 
 
     | 
PtLabel | A text, bitmap, or image label | 
 
     | 
PtLine | Straight line (single segment) | 
 
     | 
PtList | List of text items | 
| N/A | PtMenu | Menu--use a Menu module instead | 
 
     | 
PtMenuBar | Menubar that's placed at the top of a window | 
 
     | 
PtMenuButton | Button that pops up a menu, or an item in a menu | 
 
     | 
PtMeter | Meter widget | 
 
     | 
PtMTrend | Medical trend widget | 
 
     | 
PtMultitext | Multiple-line stylized text field | 
| N/A | PtNumeric | Numeric field superclass--not normally instantiated | 
 
     | 
PtNumericFloat | Floating-point numeric field | 
 
     | 
PtNumericInteger | Integer field | 
 
     | 
PtOnOffButton | Button that's either on or off | 
 
     | 
PtOSContainer | Offscreen-context container, useful for drawing flicker-free images and animations | 
 
     | 
PtPane | Container that manages its children | 
 
     | 
PtPanelGroup | Container that manages panels | 
| PtPixel | Set of points | |
 
     | 
PtPolygon | Set of connected line segments | 
 
     | 
PtPrintSel | Compound widget for choosing printing options | 
 
     | 
PtProgress | Progress bar | 
 
     | 
PtRaw | Widget in which you can use low-level Pg drawing functions | 
 
     | 
PtRawList | Raw list | 
 
     | 
PtRawTree | raw tree | 
 
     | 
PtRect | Rectangle | 
| N/A | PtRegion | Photon region--must be created with PtCreateWidget() | 
| N/A | PtScrollArea | Superclass for scrolling widgets--not normally instantiated | 
 
     | 
PtScrollBar | Scrollbar | 
 
     | 
PtScrollContainer | A viewport for viewing a large virtual area | 
 
     | 
PtSeparator | Separator | 
| N/A | PtServer | Server widget -- must be created with PtCreateWidget() | 
 
     | 
PtSlider | Numerical input mechanism with a range | 
 
     | 
PtTab | Terminal emulator | 
 
     | 
PtTerminal | Terminal emulator | 
 
     | 
PtText | Single-line text field | 
 
     | 
PtTimer | Timer | 
 
     | 
PtToggleButton | Toggle button | 
 
     | 
PtToolbar | Superclass for toolbar widgets | 
 
     | 
PtToolbarGroup | A group of toolbars | 
 
     | 
PtTree | Hierarchy tree | 
 
     | 
PtTrend | Display of connected points that shift in a specified direction at the rate in which data is fed | 
 
     | 
PtTty | Terminal device | 
 
     | 
PtUpDown | Increment/decrement button | 
 
     | 
PtWebClient | Widget for displaying web pages | 
| N/A | PtWidget | Widget superclass--not normally instantiated | 
| N/A | PtWindow | Window--use a Window module instead | 
![]()  | 
![]()  | 
![]()  | 
![]()  |