[previous] [up] [next]     [contents] [index]
Next: Creating Graphical Elements Up: PLT MrEd: Graphical Toolbox Previous: Eventspaces and User Breaks

MrEd Applications: An Example

To demonstrate the advantages of interactive GUI development in MrEd, we work through the development of an interactive phone book (see Figure ``Phonebook''). Our phone book interface consists of a name field, a toggle button to select ``home'' or ``office'', and a display field to show the phone number. The phone number field will be automatically updated whenever the name or the ``home''-``office'' toggle is changed by the user. Hitting the ``Quit'' button to close the frame.

-- Figure: An interactive phone book interface --





PLT