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 LANGUAGE="JavaScript1.1" SRC="../../../marvin.js"></script> <script LANGUAGE="JavaScript1.1"> <!--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.