General Modularity Example Module Projects & Files Commands & Scripting
Windows Menus Charts Tables Buttons & tools
Trees and Taxa Characters & Models Documentation General Utilities
Buttons Tools Tool palettes Tools in an example module
Also: User's guide to controls class MesquiteButton class MesquiteTool class ToolPalette

Buttons and tools in Mesquite

(August 2005)

MesquiteButtons are objects that draw on-screen images and have an on and off state, and when touched they call a MesquiteCommand that is associated with each. Currently these are used for the tools in the tool palettes.

Tools in the sense of selectable cursors are MesquiteTool objects. These include the TreeTools, which have associated MesquiteCommands for touching branches, dropping branches, and touching taxon names. If the tool is touched or dropped, the appropriate MesquiteCommand is called with branch numbers passed as parameters. There are also TableTools for the editors of Character Data.

Tools currently are shown in ToolPalettes, which each MesquiteWindow can show on its left side if its setPalette(ToolPalette palette) method is called.


© W. Maddison & D. Maddison 1999-2005