Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

ApLinkWindow()

Open a window

Synopsis:

#include <Ap.h>

PtWidget_t ApLinkWindow( PtWidget_t *widget, 
                  ApEventLink_t const *l, 
                  PtCallbackInfo_t *cbinfo );

Arguments:

widget
A pointer to the parent widget that is associated with this window. This pointer will be passed as info.widget into the setup function(s).
l
A pointer to a constant representing the link descriptor for the window.
cbinfo
A pointer to the callback structure that contains the callback information that prompted this call (the reason).

Library:

Ap

Description:

This function is used to open a window.

Returns:

A pointer to a PtWidget_t structure for the newly created window.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtCallbackInfo_t(), ApCreateWidget()