wxMaxima
|
A "variables" sidepane. More...
#include <VariablesPane.h>
Public Member Functions | |
Variablespane (wxWindow *parent, wxWindowID id=wxID_ANY) | |
The constructor. | |
void | OnTextChange (wxGridEvent &event) |
Called when a variable name was changed. | |
void | OnTextChanging (wxGridEvent &event) |
Called after the user has entered a variable name but before it is committed. | |
void | OnRightClick (wxGridEvent &event) |
Called on right-clicking the variables list. | |
void | InsertMenu (wxCommandEvent &event) |
Called if a right-click menu item was clicked at. | |
void | OnKey (wxKeyEvent &event) |
Called on key press. | |
void | OnChar (wxKeyEvent &event) |
Called if a printable char was entered. | |
void | AddWatchCode (wxString code) |
Add a variable whose name contains all the escapes maxima needs to the variables list. | |
void | AddWatch (wxString watch) |
Add a variable without escapes to the list. | |
std::vector< wxString > | GetEscapedVarnames () |
Returns a list of all variable names in a format maxima understands. | |
std::vector< wxString > | GetVarnames () |
Returns the variable list in a human-readable format. | |
void | ResetValues () |
Set all variable's contents to "unknown". | |
void | Clear () |
Remove all entries from the variables list. | |
void | VariableValue (const wxString &var, const wxString &val) |
Tell the variables pane about a variable value. | |
void | VariableUndefined (const wxString &var) |
Sets the variable var to "undefined". | |
void | UpdateSize () |
~Variablespane () | |
The destructor. | |
Static Public Member Functions | |
static bool | IsValidVariable (wxString var) |
Is this string a valid variable name? | |
static wxString | EscapeVarname (wxString var) |
Convert a human-readable variable name to one maxima understands. | |
static wxString | UnescapeVarname (wxString var) |
Convert a variable name maxima understands to human-readable. | |
A "variables" sidepane.