frame-with-single-child

Class

Package: common-graphics

The superclass of the standard window types: bitmap-window and text-edit-window. Specialized window types are often subclasses of this class. Use this class for text editing and displaying bitmaps when toolbars and other Windows-like features are essential. frame-with-single-child always knows the exact size of its client area (the visible interior of the window minus toolbars, status bars, and other hardware). The interior of frame-with-single-child is covered by a pane. Drawing or writing are done on that pane. Frame attributes such as a toolbar, a menubar, or a status bar can be added and the pane child is resized automatically to accommodate them. If you define a subclass to frame-with-single-child, you should define a pane class and a default-pane-class method so that the correct type of pane will be created automatically when you create an instance of your own frame-with-single-child subclass.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.