Caution: This version of this document is no longer maintained. For the latest documentation, see

Appendix: Widgets at a Glance

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