MPLAB® Harmony Graphics Suite > Designer > Microchip Aria Designer > MHGC Tools > Event Manager > Screen vs. Widget Events
MPLAB® Harmony Graphics Suite
Screen vs. Widget Events

 

 

Screen Events

As shown previously, the Graphics Composer Event Manager, Events sub-tab supports screen events when the screen is visible (On Show) and hidden (On Hide). These events can define event handlers based on Template actions or Custom, user-defined code.

Widget Events

Not all widgets can generate an event. For example, a Label Widget has nothing to generate, it just sits there on the screen, labeling. Here is a list of the widgets that can generate an event:

  • Button – Pressed and Released events
  • Check Box – Checked and Unchecked events
  • Draw Surface – Draw Notification event
  • Image Sequence – Image Changed event
  • Key Pad – Key Click event
  • List Wheel – Select Item Changed event
  • List – Selection Changed event
  • Progress Bar – Value Changed event
  • Radio Button – Selected and Deselected event
  • Scroll Bar – Value Changed event
  • Slider Widget – Value Changed event
  • Text Field – Text Changed event
  • Touch Test – Point Added event
MPLAB® Harmony Graphics Suite