• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Menus

An interesting place to start fiddling is the Menus subdirectory. Within this directory is a menus.xml file that contains the definitions for all the menus used in the system. Near the bottom of the file, for example, you can find the XML definition of the Window menu—it should look something similar to this:

<menu name="_Window" id="DWMenu_Window">
        <menuitem name="O_bjects"            key="Cmd+F2"
         domrequired="false" enabled="true"
         command="dw.toggleFloater('objects')"
         checked="dw.getFloaterVisibility('objects')"
         id="DWMenu_Window_Objects" />

        <menuitem name="_Properties"        key="Cmd+F3"
         domrequired="false" enabled="true"
         command="dw.toggleFloater('properties')"
         checked="dw.getFloaterVisibility('properties')"
         id="DWMenu_Window_Properties" />

        <menuitem name="La_uncher"            key=""
         domrequired="false" enabled="true"
         command="dw.toggleFloater('launcher')"
         checked="dw.getFloaterVisibility('launcher')"
         id="DWMenu_Window_Launcher" />
...
</menu>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint