PLT MrEd: Graphical Toolbox Manual


Matthew Flatt (mflatt@plt-scheme.org)
Robert Bruce Findler (robby@plt-scheme.org)
John Clements (clements@plt-scheme.org)
 

360
Released November 2006
 

    1  Introduction

I  Windowing Toolbox

    2  Windowing Toolbox Overview
        2.1  Core Windowing Classes
        2.2  Geometry Management
            2.2.1  Containees
            2.2.2  Containers
            2.2.3  Defining New Types of Containers
        2.3  Mouse and Keyboard Events
        2.4  Event Dispatching and Eventspaces
            2.4.1  Event Types and Priorities
            2.4.2  Eventspaces and Threads
            2.4.3  Creating and Setting the Eventspace
            2.4.4  Exceptions and Continuation Jumps

    3  Windowing Class Reference
        3.1  Class Listing
        3.2  area<%>
        3.3  area-container<%>
        3.4  area-container-window<%>
        3.5  button%
        3.6  canvas<%>
        3.7  canvas%
        3.8  check-box%
        3.9  checkable-menu-item%
        3.10  choice%
        3.11  clipboard<%>
        3.12  clipboard-client%
        3.13  combo-field%
        3.14  control<%>
        3.15  control-event%
        3.16  cursor%
        3.17  dialog%
        3.18  event%
        3.19  frame%
        3.20  gauge%
        3.21  group-box-panel%
        3.22  grow-box-spacer-pane%
        3.23  horizontal-pane%
        3.24  horizontal-panel%
        3.25  key-event%
        3.26  labelled-menu-item<%>
        3.27  list-box%
        3.28  list-control<%>
        3.29  menu%
        3.30  menu-bar%
        3.31  menu-item<%>
        3.32  menu-item%
        3.33  menu-item-container<%>
        3.34  message%
        3.35  mouse-event%
        3.36  pane%
        3.37  panel%
        3.38  popup-menu%
        3.39  radio-box%
        3.40  scroll-event%
        3.41  selectable-menu-item<%>
        3.42  separator-menu-item%
        3.43  slider%
        3.44  subarea<%>
        3.45  subwindow<%>
        3.46  tab-panel%
        3.47  text-field%
        3.48  timer%
        3.49  top-level-window<%>
        3.50  vertical-pane%
        3.51  vertical-panel%
        3.52  window<%>

    4  Windowing Procedures
        4.1  Dialogs
        4.2  Eventspaces
        4.3  System Menus
        4.4  Miscellaneous

II  Drawing Toolbox

    5  Drawing Toolbox Overview

    6  Drawing Class Reference
        6.1  Class Listing
        6.2  bitmap%
        6.3  bitmap-dc%
        6.4  brush%
        6.5  brush-list%
        6.6  color%
        6.7  color-database<%>
        6.8  dc<%>
        6.9  dc-path%
        6.10  font%
        6.11  font-list%
        6.12  font-name-directory<%>
        6.13  gl-config%
        6.14  gl-context<%>
        6.15  pen%
        6.16  pen-list%
        6.17  point%
        6.18  post-script-dc%
        6.19  printer-dc%
        6.20  ps-setup%
        6.21  region%

    7  Drawing Procedures
        7.1  Global Graphics
        7.2  PostScript
        7.3  Drawing Object Lists
        7.4  Fonts

III  Editor Toolbox

    8  Editor Toolbox
        8.1  Editor Structure and Terminology
            8.1.1  Administrators
            8.1.2  Styles
        8.2  File Format
            8.2.1  Encoding Snips
                    Snip Classes
                    Editor Data
            8.2.2  Global Data: Headers and Footers
        8.3  End of Line Ambiguity
        8.4  Flattened Text
        8.5  Caret Ownership
        8.6  Cut and Paste Time Stamps
        8.7  Clickbacks
        8.8  Internal Editor Locks
        8.9  Editors and Threads

    9  Editor Class Reference
        9.1  Class Listing
        9.2  add-color<%>
        9.3  editor<%>
        9.4  editor-admin%
        9.5  editor-canvas%
        9.6  editor-data%
        9.7  editor-data-class%
        9.8  editor-data-class-list<%>
        9.9  editor-snip%
        9.10  editor-snip-editor-admin<%>
        9.11  editor-stream-in%
        9.12  editor-stream-in-base%
        9.13  editor-stream-in-bytes-base%
        9.14  editor-stream-out%
        9.15  editor-stream-out-base%
        9.16  editor-stream-out-bytes-base%
        9.17  editor-wordbreak-map%
        9.18  image-snip%
        9.19  keymap%
        9.20  mult-color<%>
        9.21  pasteboard%
        9.22  readable-snip<%>
        9.23  snip%
        9.24  snip-admin%
        9.25  snip-class%
        9.26  snip-class-list<%>
        9.27  string-snip%
        9.28  style<%>
        9.29  style-delta%
        9.30  style-list%
        9.31  tab-snip%
        9.32  text%

    10  Editor Procedures
        10.1  Editors

IV  Appendices

    11  Running MrEd
        11.1  Flag Conventions
        11.2  Executable Name
        11.3  Initialization
        11.4  Initial Eventspace
        11.5  X Window System Flags

    12  Preferences

    13  Font Preferences
        13.1  Wildcards
        13.2  References
        13.3  Parameterizations
        13.4  Wildcarding References
        13.5  Internal Preferences
        13.6  PostScript Fonts

    License

Copyright notice

Copyright ©1996-2006 PLT

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Library General Public License, Version 2 published by the Free Software Foundation. A copy of the license is included in the appendix entitled ``License.''

wxWindows: Copyright ©1994 Artificial Intelligence Applications Institute, The University of Edinburgh. All rights reserved.

The A List: Copyright ©1997-2000 Kyle Hammond.

Independent JPEG Group library: Copyright ©1991-1998, Thomas G. Lane. All rights reserved.

Send us your Web links

If you use any parts or all of the PLT Scheme package (software, lecture notes) for one of your courses, for your research, or for your work, we would like to know about it. Furthermore, if you use it and publicize the fact on some Web page, we would like to link to that page. Please drop us a line at scheme@plt-scheme.org. Evidence of interest helps the DrScheme Project to maintain the necessary intellectual and financial support. We appreciate your help.

Thanks

Thanks to Julian Smart for wxWindows and his help. Thanks also to Brent Benson for libscheme, and to Hans Boehm for the conservative garbage collector and his help.

The geometry-management classes were originally developed by Richard Cobbe.

This manual was typeset using LATEX, SLaTeX, and tex2page. Some typesetting macros were originally taken from Julian Smart's Reference Manual for wxWindows 1.60: a portable C++ GUI toolkit.

This manual was typeset on Monday, November 20th, 2006.

Last modified: Monday, November 20th, 2006 6:16:59am