API Reference#
Core application components#
Component |
Description |
---|---|
The top-level representation of an application. |
|
An application that manages documents. |
|
An operating system-managed container of widgets. |
|
The main window of the application. |
General widgets#
Component |
Description |
---|---|
A small animated indicator showing activity on a task of indeterminate length, usually rendered as a “spinner” animation. |
|
A button that can be pressed or clicked. |
|
A drawing area for 2D vector graphics. |
|
A widget to select a calendar date |
|
An ordered list of content where each item has an icon, a main heading, and a line of supplementary text. |
|
A separator used to visually distinguish two sections of content in a layout. |
|
Image Viewer |
|
A text label for annotating forms or interfaces. |
|
A scrollable panel that allows for the display and editing of multiple lines of text. |
|
A text input that is limited to numeric input. |
|
A widget to allow the entry of a password. Any value typed by the user will be obscured, allowing the user to see the number of characters they have typed, but not the actual characters. |
|
A horizontal bar to visualize task progress. The task being monitored can be of known or indeterminate length. |
|
A widget to select an single option from a list of alternatives. |
|
A widget for selecting a value within a range. The range is shown as a horizontal line, and the selected value is shown as a draggable marker. |
|
A clickable button with two stable states: True (on, checked); and False (off, unchecked). The button has a text label. |
|
A widget for displaying columns of tabular data. |
|
A widget for the display and editing of a single line of text. |
|
A widget to select a clock time |
|
A widget for displaying a hierarchical tree of tabular data. |
|
An embedded web browser. |
|
The abstract base class of all widgets. This class should not be be instantiated directly. |
Layout widgets#
Usage |
Description |
---|---|
A generic container for other widgets. Used to construct layouts. |
|
A container that can display a layout larger that the area of the container, with overflow controlled by scroll bars. |
|
A container that divides an area into two panels with a movable border. |
|
A container that can display multiple labeled tabs of content. |
Resources#
Component |
Description |
---|---|
A mechanism for obtaining platform-appropriate file system locations for an application. |
|
A representation of app functionality that the user can invoke from menus or toolbars. |
|
Fonts |
|
An icon for buttons, menus, etc |
|
An image |
|
A data source describing an ordered list of data. |
|
A base class for data source implementations. |
|
A data source describing an ordered hierarchical tree of data. |
|
A mechanism for validating that input meets a given set of criteria. |
|
A data source describing a single value. |
Device and Hardware#
Usage |
Description |
---|---|
A sensor that can capture photos and/or video. |
Other#
Component |
Description |
---|---|
Symbolic constants used by various APIs. |
|
Symbolic representation of keys used for keyboard shortcuts. |