 |
wxMaxima
|
Go to the documentation of this file.
22 #ifndef VARIABLESPANE_H
23 #define VARIABLESPANE_H
29 #include <wx/arrstr.h>
45 varID_newVar = wxID_HIGHEST + 3000,
58 varID_let_rule_packages,
65 explicit Variablespane(wxWindow *parent, wxWindowID
id = wxID_ANY);
75 void OnKey(wxKeyEvent &event);
77 void OnChar(wxKeyEvent &event);
106 bool m_updateSizeNeeded =
false;
107 wxString InvertCase(wxString var);
108 WX_DECLARE_STRING_HASH_MAP(
int, IntHash);
114 static int CompareInt(
int *int1,
int *int2){
return *int1<*int2;}
117 #endif // VARIABLESPANE_H
void InsertMenu(wxCommandEvent &event)
Called if a right-click menu item was clicked at.
Definition: VariablesPane.cpp:119
void OnChar(wxKeyEvent &event)
Called if a printable char was entered.
Definition: VariablesPane.cpp:69
void VariableValue(wxString var, wxString val)
Tell the variables pane about a variable value.
Definition: VariablesPane.cpp:285
void VariableUndefined(wxString var)
Sets the variable var to "undefined".
Definition: VariablesPane.cpp:300
Definition: VariablesPane.h:40
~Variablespane()
The destructor.
Definition: VariablesPane.cpp:475
void OnTextChange(wxGridEvent &event)
Called when a variable name was changed.
Definition: VariablesPane.cpp:235
void AddWatch(wxString watch)
Add a variable without escapes to the list.
Definition: VariablesPane.cpp:371
bool IsValidVariable(wxString var)
Is this string a valid variable name?
Definition: VariablesPane.cpp:426
wxArrayString GetVarnames()
Returns the variable list in a human-readable format.
Definition: VariablesPane.cpp:323
void AddWatchCode(wxString code)
Add a variable whose name contains all the escapes maxima needs to the variables list.
Definition: VariablesPane.cpp:353
wxString EscapeVarname(wxString var)
Convert a human-readable variable name to one maxima understands.
Definition: VariablesPane.cpp:390
void Clear()
Remove all entries from the variables list.
Definition: VariablesPane.cpp:468
void OnRightClick(wxGridEvent &event)
Called on right-clicking the variables list.
Definition: VariablesPane.cpp:161
void OnTextChanging(wxGridEvent &event)
Called after the user has entered a variable name but before it is committed.
Definition: VariablesPane.cpp:224
void ResetValues()
Set all variable's contents to "unknown".
Definition: VariablesPane.cpp:453
Variablespane(wxWindow *parent, wxWindowID id=wxID_ANY)
The constructor.
Definition: VariablesPane.cpp:25
wxString UnescapeVarname(wxString var)
Convert a variable name maxima understands to human-readable.
Definition: VariablesPane.cpp:381
void OnKey(wxKeyEvent &event)
Called on key press.
Definition: VariablesPane.cpp:81
wxArrayString GetEscapedVarnames()
Returns a list of all variable names in a format maxima understands.
Definition: VariablesPane.cpp:311