Chapter 19 Flashcards
GUI
graphic user interface
widget
one of the elements that makes up a GUI, including buttons, menus, text entry fields, etc
option
a value that controls the appearance or function of a widget
keyword argument
an argument that indicates the parameter name as part of the function call
callback
a function associated with a widget that is called when the user performs an action
bound method
a method associated with a particular instance
event-driven programming
a style of programming in which the flow of execution is determined by user actions
event
a user action, like a mouse click or key press, that causes a GUI to respond
event loop
an infinite loop that waits for user actions and responds
item
a graphical element on a Canvas widget
bounding box
a rectangle that encloses a set of items, usually specified by two opposing corners
pack
to arrange and display the elements of a GUI
geometry manager
a system of packing widgets
binding
an association between a widget, an event, and an event handler. the event handler is called when the event occurs in the widget.