|
|
See MathBox.cpp for more info.
Definition in file MathBox.h.
#include "mc/Element.h"
#include "mc/Text.h"
#include "mc/MathLine.h"
#include "mc/MathOrSystem.h"
#include <wx/caret.h>
#include "wx/resizec.h"
#include "wx/keybinder.h"
Go to the source code of this file.
Context menu IDs | |
| Some definitions about the IDs used in the context menu of a mgMathBox. | |
| #define | mgMATHBOX_CONTEXTMENU_BASEID mgMATHBOX_BASEID |
| The first ID reserved to context menu commands. | |
| #define | mgMATHBOX_CONTEXTMENU_MATHCMD_BASEID mgMATHBOX_CONTEXTMENU_BASEID+20 |
| The first ID reserved to context menu MATH commands. | |
| #define | mgMATHBOX_CONTEXTMENU_FINALID mgMATHBOX_CONTEXTMENU_BASEID+32 |
| Maximum number of items contained in context menu. | |
Defines | |
| #define | EVT_ACTIVE_ELEM_CHANGED(winid, fn) |
| Adds an event handler for the mgEVT_ACTIVE_ELEM_CHANGED custom event: the wxEvtHandler registered as client event handler of the mgMathBox window will receive such an event each time the element highlighted by mouse cursor changes. | |
Enumerations | |
| enum | mgMathBoxCmdID { mgMBC_CUT = 0, mgMBC_COPY_ASPLAIN, mgMBC_COPY_ASMATHML, mgMBC_PASTE, mgMBC_SELECTALL, mgMBC_CREATENEW_ANDLINE, mgMBC_CREATENEW_ORLINE, mgMBC_SIMPLEEND, mgMBC_EMBED_NUMFRACTION, mgMBC_EMBED_DENFRACTION, mgMBC_EMBED_RADICAL, mgMBC_EMBED_BRACKET, mgMBC_ADVEND, mgMBC_LAST } |
| Possible command ids. More... | |
|
|
Value: DECLARE_EVENT_TABLE_ENTRY( mgEVT_ACTIVE_ELEM_CHANGED, winid, \
wxID_ANY, (wxObjectEventFunction) (wxEventFunction) \
wxStaticCastEvent( wxCommandEventFunction, & fn ), \
(wxObject *) NULL ),
|
|
|
Possible command ids. These are the values you can pass to the #ExecCmd() function. |
[ Top ] |