MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > i) Widget Functions > leButtonWidget_New Function
MPLAB® Harmony Graphics Suite
leButtonWidget_New Function

Creates a new button widget instance. Invokes the button constructor

C
LIB_EXPORT leButtonWidget* leButtonWidget_New();
Returns

leButtonWidget* - pointer to a new button widget instance

Remarks

Use leWidget_Delete() to free this pointer.

MPLAB® Harmony Graphics Suite