|
wxMaxima
|
This class generates a pane containing the last commands that were issued. More...
#include <CharButton.h>
Data Structures | |
| struct | Definition |
| A definition of this button, used to construct it. More... | |
Public Member Functions | |
| CharButton (wxWindow *parent, wxWindow *worksheet, Configuration *config, const Definition &def, bool forceShow=false) | |
| A flat, compact button for the greek and the symbols pane. | |
| wxWindow * | GetTextObject () const |
| void | ActivateButton () |
| Emit this button's symbol to the worksheet – the button's action, shared by the mouse handler and the accessibility "Press" default action. | |
| void | UpdateMinSize () |
| Sets the min size the button needs to show its symbol. | |
Protected Attributes | |
| wchar_t | m_char |
| Configuration * | m_configuration |
| wxString | m_description |
This class generates a pane containing the last commands that were issued.
| CharButton::CharButton | ( | wxWindow * | parent, |
| wxWindow * | worksheet, | ||
| Configuration * | config, | ||
| const Definition & | def, | ||
| bool | forceShow = false |
||
| ) |
A flat, compact button for the greek and the symbols pane.
| parent | The parent panel/window |
| worksheet | The worksheet this button sends char events to |
| def | The definition of the button |
| void CharButton::UpdateMinSize | ( | ) |
Sets the min size the button needs to show its symbol.
Called from the constructor, so the size is known before the button ever receives a size event, and again on every size event, in case the font or the scale factor has changed since.