Overview
Students are introduced to Design Mode in App Lab, which allows students to easily design the User Interface (UI) of their apps and add simple event handlers to create a simple game.
Vocab
- Callback function - a function specified as part of an event listener; it is written by the programmer but called by the system as the result of an event trigger.
- Event - An action that causes something to happen.
- Event-driven program - a program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
- Event handling - an overarching term for the coding tasks involved in making a program respond to events by triggering functions.
- Event listener - a command that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
- UI Elements - on-screen objects, like buttons, images, text boxes, pull down menus, screens and so on.
- User Interface - The visual elements of a program through which a user controls or communicates with the application. Often abbreviated UI.
New Code
Resources