Skip to main content

Section 10.12 Glossary

Glossary Glossary

Batch Program.
A program with simple architecture that starts, runs through its code instructions (which can include calling functions) before reaching the end of its instructions and closing itself. Batch programs never wait for an input from the user, besides hitting the start button to run the program.
Event Based Program.
An interactive program that begins by opening a graphical interface for the user to interact with and then waits for an input from the user before returning a response. These types of programs are usually much more complicated than Batch programs and require user input while the code is running as well as to terminate the code.
Event Handler Function.
Event handlers are functions that only run in response to an input from a user. The two types of inputs event handlers can accept are user interactions via widgets and user interactions within a window. Event handlers must be registered on separate lines of code from the functions they run to allow them to receive inputs from the user.
Graphical Interface.
Any type of visual representation of the interactions between a user and a computer or program (ex: windows, icons, menus, etc...).
Labels.
Static elements of a graphical interface that cannot be interacted with but can be changed by other elements of the interface (widgets). Their purpose is simply to provide information by displaying text or images.
Simple Graphical User Interface (SimpleGUI).
A python-based code module designed by CodeSkulptor3 to create a graphical user interface in your web browser.
Toolkits.
Importable code modules that allow the programmer to make use of simplified documentation to run complex functions. The Turtle module from earlier in this textbook and the Simple GUI module are both examples of toolkits.
UI Widget Handlers.
Event handlers that only run in response to a user input from their corresponding widget or interface control. Types of widgets include: text boxes, sliders, buttons, scrollbars, etc...
Window Based Input Event Handlers.
Event handlers that only run in response to specific user inputs within a window, these inputs include: keypresses, mouse clicks, mouse drags, releasing a pressed down key, etc...
You have attempted of activities on this page.