wxMaxima
Loading...
Searching...
No Matches
Data Structures
MaximaCommandMenus.h File Reference

The menu/toolbar command handlers wxMaxima binds to the "insert a Maxima command" menu and button events. More...

#include <wx/event.h>
Include dependency graph for MaximaCommandMenus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MaximaCommandMenus
 The menu-command handlers extracted from the wxMaxima god class. More...
 

Detailed Description

The menu/toolbar command handlers wxMaxima binds to the "insert a Maxima command" menu and button events.

These handlers translate a menu/button click into a Maxima command (often via a wizard dialog) and hand it to wxMaxima::MenuCommand(). They used to be members of the wxMaxima god class; they are being peeled off into this class, one menu at a time, to shrink wxMaxima.cpp. Each handler still drives wxMaxima (MenuCommand, the wizards, the worksheet) through the m_wxMaxima reference, so MaximaCommandMenus is a friend of wxMaxima; the handlers are bound directly to the MaximaCommandMenus instance the wxMaxima frame owns.