Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version