PLT MrEd: Graphical Toolbox Manual


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

207
Released May 2004
 

    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  control<%>
        3.14  control-event%
        3.15  cursor%
        3.16  dialog%
        3.17  event%
        3.18  frame%
        3.19  gauge%
        3.20  group-box-panel%
        3.21  grow-box-spacer-pane%
        3.22  horizontal-pane%
        3.23  horizontal-panel%
        3.24  key-event%
        3.25  labelled-menu-item<%>
        3.26  list-box%
        3.27  list-control<%>
        3.28  menu%
        3.29  menu-bar%
        3.30  menu-item<%>
        3.31  menu-item%
        3.32  menu-item-container<%>
        3.33  message%
        3.34  mouse-event%
        3.35  pane%
        3.36  panel%
        3.37  popup-menu%
        3.38  radio-box%
        3.39  scroll-event%
        3.40  selectable-menu-item<%>
        3.41  separator-menu-item%
        3.42  slider%
        3.43  subarea<%>
        3.44  subwindow<%>
        3.45  tab-panel%
        3.46  text-field%
        3.47  timer%
        3.48  top-level-window<%>
        3.49  vertical-pane%
        3.50  vertical-panel%
        3.51  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  font%
        6.10  font-list%
        6.11  font-name-directory<%>
        6.12  gl-context<%>
        6.13  pen%
        6.14  pen-list%
        6.15  point%
        6.16  post-script-dc%
        6.17  printer-dc%
        6.18  ps-setup%
        6.19  region%

    7  Drawing Procedures
        7.1  Global Graphics and Screen

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-string-base%
        9.14  editor-stream-out%
        9.15  editor-stream-out-base%
        9.16  editor-stream-out-string-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

Copyright notice

Copyright ©1996-2003 PLT

Permission to make digital/hard copies and/or distribute this documentation for any purpose is hereby granted without fee, provided that the above copyright notice, author, and this permission notice appear in all copies of this documentation.

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 Tuesday, May 18th, 2004.

Last modified: Tuesday, May 18th, 2004
HTML conversion by TeX2page 2003-09-27