wxMaxima
Public Member Functions | Static Public Member Functions | Data Fields
Variablespane Class Reference

A "variables" sidepane. More...

#include <VariablesPane.h>

Inheritance diagram for Variablespane:
[legend]
Collaboration diagram for Variablespane:
[legend]

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.
 

Data Fields

wxWindowIDRef m_varID_values
 
wxWindowIDRef m_varID_functions
 
wxWindowIDRef m_varID_arrays
 
wxWindowIDRef m_varID_macros
 
wxWindowIDRef m_varID_labels
 
wxWindowIDRef m_varID_myoptions
 
wxWindowIDRef m_varID_rules
 
wxWindowIDRef m_varID_aliases
 
wxWindowIDRef m_varID_structs
 
wxWindowIDRef m_varID_dependencies
 
wxWindowIDRef m_varID_gradefs
 
wxWindowIDRef m_varID_prop
 
wxWindowIDRef m_varID_let_rule_packages
 
wxWindowIDRef m_varID_delete_row
 
wxWindowIDRef m_varID_clear
 

Detailed Description

A "variables" sidepane.


The documentation for this class was generated from the following files: