MarvinSketch Example - GUI customization

In this example the Graphical User Interface is customized to use the ISIS/Draw-like configuration.

A simple configuration file, configuration.xml is given with the menuconfig parameter to achieve this:

    <?xml version="1.0" encoding="UTF-8"?>
    <customization active="config1">
    </customization>
For more information about GUI customization please visit this link.
<script type="text/javascript" SRC="../../../marvin.js"></script>
<script type="text/javascript">
<!--
msketch_begin("../../..", 540, 480);
msketch_param("menuconfig", "examples/applets/sketch/configuration.xml");
msketch_param("ttmpls10", "*Configuration1*chemaxon/marvin/templates/config1.t");
msketch_end();
//-->
</script>

 

The next example shows how to set which atoms and bonds are allowed to draw.

Do you have a question? Would you like to learn more? Please browse among the related topics on our support forum or search the website. If you want to suggest modifications or improvements to our documentation email our support directly!