wxMaxima
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ToolBar Class Reference
Inheritance diagram for ToolBar:
Inheritance graph
[legend]
Collaboration diagram for ToolBar:
Collaboration graph
[legend]

Public Types

enum  AnimationStartStopState { Running, Stopped, Inactive }
 
enum  popupitems {
  copy_paste, open_save, print, options,
  shownew, search, help, selectAll
}
 
enum  Event {
  plot_slider_id = 5500, tb_interrupt, tb_follow, tb_eval,
  tb_eval_all, tb_evaltillhere, tb_evaluate_rest, tb_animation_startStop,
  tb_animation_start, tb_animation_stop, tb_hideCode, tb_changeStyle,
  menu_restart_id
}
 

Public Member Functions

 ToolBar (wxWindow *parent)
 
wxBitmap GetBitmap (wxString name, unsigned char *data, size_t len, wxSize siz=wxSize(-1,-1))
 
void ShowUserInputBitmap ()
 Show that user input is needed for maxima to continue.
 
void ShowFollowBitmap ()
 Stop showing that user input is needed for maxima to continue.
 
void AnimationButtonState (AnimationStartStopState state)
 
void CanCopy (bool value)
 
void CanCut (bool value)
 
void CanSave (bool value)
 
void CanPrint (bool value)
 
void CanEvalTillHere (bool value)
 
void CanEvalThisCell (bool value)
 
void WorksheetEmpty (bool value)
 
void UpdateSlider (AnimationCell *cell)
 Updates the slider to match the Slide Show cell.
 
int GetIdealHeight ()
 
void AddTools ()
 Remove all ools and then add all tools that are requested/fit in the toolbar/...
 
GroupType GetCellType ()
 Get the cell style for new cells.
 
void SetCellStyle (GroupType style)
 Set the cell style to show for the current cell.
 
void UnsetCellStyle ()
 Called if there is no cell to show the style for.
 
void SetDefaultCellStyle (GroupType style)
 Set the default cell style for new cells.
 
void SetDefaultCellStyle ()
 The current style is the new style for new cells.
 
void UpdateBitmaps ()
 Update the bitmaps on ppi changes.
 
wxBitmap GetEvalAllBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetEvalBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetNewBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetOpenBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetSaveBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetPrintBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetPreferencesBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetCutBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetCopyBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetPasteBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetSelectAllBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetFindBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetRestartBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetInterruptBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetEvalTillHereBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetHelpBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetEvalRestBitmap (wxSize siz=wxSize(-1, -1))
 
wxBitmap GetHideCodeBitmap (wxSize siz=wxSize(-1, -1))
 
bool ShowCopyPaste ()
 
void ShowCopyPaste (bool show)
 
bool ShowOpenSave ()
 
void ShowOpenSave (bool show)
 
bool ShowNew ()
 
void ShowNew (bool show)
 
bool ShowSearch ()
 
void ShowSearch (bool show)
 
bool ShowHelp ()
 
void ShowHelp (bool show)
 
bool ShowPrint ()
 
void ShowPrint (bool show)
 
bool ShowOptions ()
 
void ShowOptions (bool show)
 
bool ShowSelectAll ()
 
void ShowSelectAll (bool show)
 

Public Attributes

wxSlider * m_plotSlider
 The slider for animations.
 
wxBitmap m_followIcon
 
wxBitmap m_needsInformationIcon
 
wxBitmap m_PlayButton
 
wxBitmap m_StopButton
 

Protected Member Functions

void OnSize (wxSizeEvent &event)
 
void OnMouseRightDown (wxMouseEvent &event)
 
void OnMenu (wxMenuEvent &event)
 

Member Enumeration Documentation

◆ AnimationStartStopState

All states the "start/stop animation" toolbar button can be in

Enumerator
Running 

The animation is running.

Stopped 

The animation is stopped.

Inactive 

No animation is currently running.

◆ Event

A list of all events the Toolbar can receive


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