Programming Guide |
This chapter summarizes the Panther library functions and lists them by category. Groups of closely related variant functions are listed under a single root name. The functions sm_r_form
, sm_d_form
, and sm_l_form
, for example, are all grouped under the heading sm_*form
.
Functions marked with § are not installed in the distribution and cannot be directly called from JPL. All other functions can be called from JPL.
Initialization/Reset |
The following library functions are called in order to initialize or reset certain aspects of the Panther runtime environment. Those that are necessary for the proper operation of Panther are called from within the supplied main routine source modules jmain.c
and jxmain.c
.
Screen and Viewport Control |
Control viewports, the display of screens, and the form and window stacks:
Interscreen Messaging |
Send and receive data from one screen to another:
Widget Creation/Deletion |
Copies a widget | |
Deletes a widget |
Property Access |
Set and get properties of Panther objects–for example, screens, widgets, and the application itself:
Field/Array Data Access |
Access data in fields and arrays:
Group Access |
The following functions access groups. Groups are made up of fields that have attributes and data in them. The value of a group indicates the set of selected constituent fields, although it is not recommended that that value ever be accessed or modified directly with any of the field access functions discussed in the preceding sections.
Local Data Block Access |
The following functions access local data blocks, or LDBs. Note that if a field data access function references a field by name–for example, sm_n
and sm_i_variants
–and the name field does not exist on the active screen, it looks in an active LDB for an entry of the same name.
Validation |
The following functions provide an application interface to the field and group validation processes:
Cursor Control |
Control the positioning and display of the cursor on the active screen:
Display Terminal I/O |
Set the interface to Panther terminal I/O:
Message Display |
Access and display runtime application messages:
Mass Storage and Retrieval |
Move data to or from sets of fields in the screen or LDB:
Global Data and Changing Panther Behavior |
Get access to global data and manipulate their settings:
Menus |
Get and change properties of menus and menu items:
Database Interaction |
Transaction Manager |
GUI Access |
The following functions are applicable for GUI Panther applications. Those that contain _mw_
or _xm_
are specific to Windows or Motif only.
DDE (Dynamic Data Exchange) |
Exchange data between Panther Windows applications and other Windows applications.
File Access |
Library Access |
JPL |
Executes a JPL procedure | |
Executes JPL's public command | |
Executes JPL's unload command |
JetNet/Oracle Tuxedo Processing |
Open Middleware Connectivity |
The following functions can be used with all service components, regardless of the technology used to deploy the components–COM or EJB.
COM/MTS Processing |
Creates a named property | |
Creates a named property group | |
|
Gets the value of a property |
Sets a property's value |
Determines if the caller of the component is in a role | |
Determines if security is currently enabled |
Reports |
Returns the last error message generated by report processing | |
Displays or prints a report that is in metafile format | |
Invokes the report generator from a user-written function |
Web Applications |
XML |
Miscellaneous |