This chapter describes the functions and data structures that are associated with the Photon Application Builder (PhAB).
![]() |
These functions and data structures can be used only by applications built with PhAB. |
| Entry | Description |
|---|---|
| ApAddClass() | Indicate the widgets likely to be encountered in a widget database |
| ApAppendTranslation() | Append external translation files to an application's translation list |
| ApBitmap_t | PhAB bitmap structure |
| ApCloseDBase() | Close a widget database |
| ApCopyWidget() | Copy a widget from a PhAB widget database |
| ApCreateModule() | Create an instance of modules built with PhAB |
| ApCreateWidget() | Create a widget by copying it from a PhAB widget database |
| ApCreateWidgetFamily() | Create a container widget and its children by copying them from a PhAB widget database |
| ApDeleteWidget() | Remove widgets from a widget database |
| ApError() | Display an error message dialog |
| ApFreeBitmapRes() | Free a bitmap resource structure |
| ApGetBitmapRes() | Extract bitmap data from a widget |
| ApGetImageRes() | Extract the image data from a widget |
| ApGetInstance() | Get the widget's module instance pointer |
| ApGetItemText() | Get the text for a menu item |
| ApGetTextRes() | Get a translated text string from a widget database |
| ApGetWidgetPtr() | Get the widget's instance pointer |
| ApInfo_t | PhAB information structure |
| ApInstanceName() | Return the widget's instance name string |
| ApModifyItemState() | Modify the state of menu items |
| ApModifyItemText() | Modify the text for a menu item |
| ApModuleFunction() | Specify the setup function for a PhAB internal link callback |
| ApModuleLocation() | Specify the module location for a PhAB internal link |
| ApModuleParent() | Specify the parent for a window module |
| ApName() | Return a PhAB name value for the specified widget |
| ApOpenDBase() | Open a picture module as a widget database |
| ApOpenDBaseFile() | Open external module files as widget databases |
| ApResClose() | Close the file of module resource records |
| ApSaveDBaseFile() | Save a widget database as an external file |
| ApSetTranslation() | Change the current translation to another language |
| ApWidget() | Determine the widget that initiated a link callback |