[Previous] [Contents] [Index] [Next]

PtAppInit()

Initialize an application and create the main window

Synopsis:

PtWidget_t *PtAppInit( PtAppContext_t *app_context,
                       int *argc, 
                       char **argv,
                       int num_args, 
                       PtArg_t const *args );

Description:

This function:

Returns:

A pointer to the main window, or NULL if an error occurs.

Examples:

See PtContainerGiveFocus().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAttach(), PtCreateWidget(), PtInit(), PtMainLoop()


[Previous] [Contents] [Index] [Next]