The menu bar

All available commands are grouped in the program’s menu bar. A brief description of such commands is reported in the following:

File

New: Closes the current project file, offering the chance to save it (if modified), and creates a new one.
Open: Offers the chance to save the current project (if modified), and opens the File Selection dialog window to open an existing project file.

Merge: Opens the File Selection dialog window to open an existing project file and merge it with the current one.

WARNING: object names in the loaded project are reset to avoid conflicts with names in the current project.

Save: Saves the current project, prompting for a name if the project is saved for the first time.

Save as: Saves the current project prompting for a new name.

Load Palette: Opens the File Selection dialog to select a color palette to load and bind to the current project.

Save Palette: Opens the File Selection dialog to prompt for a filename to give to the palette file. The color palette of the current project is saved.

Quit: Terminates the program, prompting to save the current project (if modified).


Edit

All items in this menu have effect on the select object. The selected object is highlighted in the hierarchical area by a black border.
 

Reset: Causes the selected object to re-compute it’s size. Usually it is applied to the Shell object in order to reset the entire window.

Cut: Removes the selected object and all its descendents, and copies it in the paste buffer.

Copy object: Copies the selected object in the paste buffer. The previous content of the paste buffer is deleted.

Copy tree: Copies the selected object and all its descendents in the paste buffer. The previous content of the paste buffer is deleted.

Paste: Inserts the object in the paste buffer as child of the select object. The selected object must be a container object (a SHELL or a FORM object).

Pack: Causes the selected container object to be packed. A packed container will disappear from the actual layout window and all its children objects will be removed from the hierarchical area. When the input focus is owned by the hierarchical area, you can pack a container object using the ‘-‘ key.

Unpack: Causes the selected container object to be unpacked. The container will appear again in the actual layout window and all its children objects will be re-displayed in the hierarchical area. When the input focus is owned by the hierarchical area, you can unpack a container object using the ‘+‘ key.


Attributes

Edit: Opens the generic object editing dialog window. This window allows setting many object properties as color, text, font, shadow ...

Attachment: Opens the attachment setting dialog window that allows changing the way the selected object is linked to its container and/or brothers.

Object specific: Opens a modal dialog window that allows editing non-generic attributes for the selected object (for example the number of columns in a TableForm).

Run time options: Opens a modal dialog window that allows setting the attributes (text, color, font and shadow) to be enabled for run-time editing for the selected object.

C callbacks: Opens a modal dialog window that allows setting the C callback names and optionally the callback codes for the selected object. C callbacks are global functions.

C post creation code: Opens a modal dialog window that allows setting C source code to be placed immediately after the creation of the selected object in the generated C source file.

C++ callbacks: Opens a modal dialog window that allows setting the C++ callback names and optionally the callback codes for the selected object. C++ callbacks are functions member of the C++ class associated with the SHELL object.

C++ post creation code: : Opens a modal dialog window that allows setting C++ source code to be placed immediately after the creation of the selected object in the generated C++ source file.

Class options: This feature is available only when the selected object is a SHELL. It opens a modal dialog window that allows adding member functions and attributes to the C++ class associated with the selected SHELL object.


Options
 

Backup on saving: If this option is enabled then a backup copy of the loaded project file is created before saving the new version.

Periodic backup: If this option is enabled then a periodic backup copy of the loaded project file is created automatically every 2 minutes.

Select by name: Opens a modal dialog window to let the user select an object by its name.


 

Generate
 

Prompt on replace: If this option is enabled then a prompt dialog is displayed before overwriting the generated source file.

Include MGUIMain: If this option is enabled then the generated source file will include default starting and terminating C global functions (or C++ methods).

MGUIMain Options..." This item opens a dialog that allows you to set the following start-up options that will be included in the generated MGUIMain():

C header code: Opens a modal dialog window that allows the input of C source code that will appear in the generated C source file before the definition of any function. This makes it possible to insert some extra #include directive and user variable and function definitions.

Generate C code: Creates (or replaces) the C source files associated with the project. A file named <project name>.c a file named <project name>.h are created.

C++ header code: Opens a modal dialog window that allows the input of C++ source code that will appear in the generated C++ source file before the definition of any function. This makes it possible to insert some extra #include directive and user variable and function definitions.

Generate C++ code: Creates (or replaces) the C++ source files associated with the project. A file named <project name>.cpp and a file named <project name>.hpp are created. In addition, a file named <project name>.tpl will include template definitions of all member functions to supply in the program source.