MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laScreen_New Function
MPLAB® Harmony Graphics Suite
laScreen_New Function

Create a new screen, initialize it to the values specified. The key properties to specify include screen persistence, call backs for screen creation, initialize the screen to default values either specified through MHGC or manually by user.

C
LIB_EXPORT laScreen* laScreen_New(
    laBool persistent, 
    laBool createAtStartup, 
    laScreen_CreateCallback_FnPtr cb
);
Parameters
Parameters 
Description 
laBool persistent 
indicates that the screen should not free the memory of its layers when it is hidden
 
laBool createAtStartup 
indicates that the screen should be created as soon as possible to make its widgets accessible to the application
 
laScreen_CreateCallback_FnPtr cb 
the function that should be called to initialize the screen at a later time 
Returns

void

MPLAB® Harmony Graphics Suite