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

Sets the boolean value of the layer enabled property

C
LIB_EXPORT laResult laLayer_SetEnabled(
    laLayer* widget, 
    laBool enable
);
Parameters
Parameters 
Description 
laLayer* 
the layer 
the desired enabled value 
Returns

laResult - the result of the operation

Remarks

The enabled flag for a layer will often control the hardware setting for layer usage, depending on the display driver

MPLAB® Harmony Graphics Suite