drscheme:language-configuration:fill-language-dialog in DrScheme Tools Functions
(drscheme:language-configuration:fill-language-dialog -> drscheme:language-configuration:language-settings?
panel button-panel language-setting re-center manuals?)
panel : (is-a?/c vertical-panel%)
button-panel : (is-a?/c area-container<%>)
language-setting : drscheme:language-configuration:language-settings?
re-center = : (union false? (is-a?/c #ftop-level-window<%>))
manuals? = : boolean?#f
This procedure accepts two parent panels and fills them with the contents of the language dialog. It is used to include language configuration controls in some larger context in another dialog.
The panel argument is the main panel where the
language controls will be placed.
The function adds buttons to the button-panel
to revert a language to its default settings and to
show the details of a language.
The language-setting is the default
language to show in the dialog.
The re-center argument is used when the Show Details
button is clicked. If that argument is a top-level-window<%>,
the Show Details callback will recenter the window each time
it is clicked. Otherwise, the argument is not used.
If manuals? is #f the usual language dialog (as seen
in the start up drscheme window and from the Choose Language dialog
created when drscheme is started up) is shown. If it isn't, the dialog
does not have the details and on the right-hand side shows the manual
ordering for the chosen language. This is used in Help Desk.