How to Add Interaction - mchpgfx/legato.docs GitHub Wiki
How to Add Interactions
It’s time to add interactions. You’ll start by working on the user interface created from How to add a Scheme.
It’s time to business logic behavior. You’ll start by working on the user interface created from Add Screen guide.
Events and business logic add behavior to your application.
In this guide, we will add a event to respond to a release event on the qsButton widget. In our app code we will add logic to transition to screen1.
We will also add an event to respond to a release event on the Exit button. In our app code we will add logic to transition from screen1 back to screen0.
Lastly, we will add an event to respond to a notification that screen1 has showed itself.
Next Step
In this guide, you learned events allow you to control your application and add run-time response behavior on user interactions. At this point, you’re ready to add a widget event. Go to the next tutorial in this series: How to add a Widget Event.
If you are new to MPLAB® Harmony, you should probably start with these tutorials:
- MPLAB® Harmony v3 Graphics Example Applications at MPLAB® Discover
- MPLAB® Harmony v3 software framework
- MPLAB® Harmony v3 Configurator Overview
- Create a New MPLAB® Harmony v3 Project
Is this page helpful? Send feedback