This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Initialize an application and create the main window
PtWidget_t *PtAppInit( PtAppContext_t *app_context, int *argc, char **argv, int num_args, PtArg_t const *args );
ph
This function:
A pointer to the main window, or NULL if an error occurs.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhAttach(), PtArg_t. PtCreateWidget(), PtInit(), PtMainLoop()
"Basic steps" in the Programming Photon without PhAB chapter of the Photon Programmer's Guide