select_tool


Description:

public void select_tool (string name)

Select a drawing tool by name

The m_current_tool should not be null, but this function would need to execute to correct the issue. Otherwise, the value would be 'stuck' at null. So, this function treats m_current_tool equal to null as a valid precondition.

Parameters:

name

The name of the tool to select