wxMaxima
Loading...
Searching...
No Matches
Data Fields
McpSidebarInfo Struct Reference

One dockable sidebar, as list_sidebars reports it. More...

#include <McpTools.h>

Data Fields

wxString name
 The stable, untranslated identifier show_sidebar/hide_sidebar take.
 
wxString caption
 The translated, human-readable caption the user sees on the pane.
 
bool visible = false
 Is this sidebar visible right now?
 
bool canHide = true
 Can this pane be hidden at all? False for the worksheet itself, which is wxAUI's centre pane: wxMaximaFrame::ShowPane() refuses to hide it and asserts if asked to, so hide_sidebar has to reject it before that point rather than tripping an assert inside what is, from the caller's point of view, an ordinary tool call.
 

Detailed Description

One dockable sidebar, as list_sidebars reports it.

Attention
name is the stable, untranslated key wxMaximaFrame stores a pane under (m_sidebarNames – "structure", "variables", ...), and is the only thing show_sidebar/hide_sidebar accept. caption is what the user actually sees, and is passed through _(), so it changes with the UI language – an AI that keyed off it would stop working the moment wxMaxima runs in anything but English.

The documentation for this struct was generated from the following file: