0 Votes

Application properties

Last modified by WikiBot on 2025/03/20 14:16

Application properties

The application properties are stored in the application's .app file as

(:code
  (property value ...)
  ...
)

or in the file "property.cms" in the application folder. Here is a list of supported properties

(:options-menu item ...)

Describes the application-specific items in the options menu.

(:interfaces (link-type (property value …) …)…)

Describes the default properties of interfaces of certain link types.

(models (property value …) …)

Describes the default properties of NMF or Modelica models.

(side-pages (view page …) …)

Describes the list of pages of the side bar depending on view type. Here
- view is either a view type (form, schema, outline) or the symbol :all-views.
- page … is the list of page names (symbols).

(palettes (page form) …)

Describes the forms or libraries to be shown in the sidebar palette pages. The parameter form may be a file name, a list (filename doctype option value …), or an expression (:eval expr) that is evaluated to a document or a filename. The expression is evaluated with parameters _pane, _view, and _page, those values are the active pane, its view type, and the selected sidebar page.

(:source-file code …)

The default value of the same property defined for individual math models. May contain multiple expression; the modeler will search source files in all listed places.

(:show-help code)

The code is called (as a script) when the user requests help information (e.g., by pressing F1). May also be called from scripts.

Base: the application.

Variables: _topic, _target (the name of the window where the information should be displayed)