MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > b) Core Functions > leGetFocusWidget Function
MPLAB® Harmony Graphics Suite
leGetFocusWidget Function

The focus widget is the widget that is currently receiving all input events. This can happen when the user initiates a touch down event on the widget and is currently dragging their finger on the display. The widget will receive all touch moved events until a touch up event is received.

C
LIB_EXPORT leWidget* leGetFocusWidget();
Returns

leWidget*

MPLAB® Harmony Graphics Suite