Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## main-window-maker

Arguments: app

The expression `(cg:main-window-maker (cg:app cg:*system*))` returns the maker-function that was automatically generated for the main form of a project. This works only in a standalone application that was generated from a project, or within a Run | Run Project process in the IDE (otherwise `nil` is returned).

This function is called by default-init-function, which is the default on-initialization function of a project, so that it can create the main window of any project. A custom on-initialization function would typically call the maker-function directly instead, but it might be useful to call main-window-maker to make an on-initialization function more general.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version