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

The enabled flag controls the visibility and interactibility of a key pad cell. This enables the key pad to be configured to match such examples as a phone dialer key pad with twelve buttons total but the buttons to the left and right of the zero button not being drawn.

C
LIB_EXPORT laResult laKeyPadWidget_SetKeyEnabled(
    laKeyPadWidget* pad, 
    uint32_t row, 
    uint32_t col, 
    laBool enabled
);
Parameters
Parameters 
Description 
laKeyPadWidget* pad 
the widget 
uint32_t row 
the indicated row 
uint32_t col 
the indicated column 
laBool enabled 
the flag value 
Returns

laResult - the result of the operation

MPLAB® Harmony Graphics Suite