wxMaxima
Public Types | Public Member Functions | List of all members
Variablespane Class Reference

#include <VariablesPane.h>

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

Public Types

enum  VarIds {
  varID_newVar = wxID_HIGHEST + 3000, varID_values, varID_functions, varID_arrays,
  varID_macros, varID_labels, varID_myoptions, varID_rules,
  varID_aliases, varID_structs, varID_dependencies, varID_gradefs,
  varID_prop, varID_let_rule_packages, varID_add_all, varID_delete_row,
  varID_clear
}
 

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.
 
bool IsValidVariable (wxString var)
 Is this string a valid variable name?
 
wxArrayString GetEscapedVarnames ()
 Returns a list of all variable names in a format maxima understands.
 
wxArrayString 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.
 
wxString EscapeVarname (wxString var)
 Convert a human-readable variable name to one maxima understands.
 
wxString UnescapeVarname (wxString var)
 Convert a variable name maxima understands to human-readable.
 
void VariableValue (wxString var, wxString val)
 Tell the variables pane about a variable value.
 
void VariableUndefined (wxString var)
 Sets the variable var to "undefined".
 
void UpdateSize ()
 
 ~Variablespane ()
 The destructor.
 

Detailed Description

A "variables" sidepane


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