wxMaxima
Loading...
Searching...
No Matches
Public Types | Data Fields
MaximaMenuSyncRow Struct Reference

How the check marks of one Maxima variable's menu items follow its value. More...

#include <MaximaMenuSync.h>

Public Types

enum class  Kind : std::int8_t { CheckedIfEqual , UncheckedIfEqual , RadioFromValue , RadioFromSuffix }
 

Data Fields

wxString m_variable
 The name of the Maxima variable this row watches.
 
Kind m_kind
 How to match the variable's value against the entries.
 
std::vector< MaximaMenuSyncEntrym_entries
 Which menu item(s) the value selects between.
 
int m_enableId = wxID_NONE
 A menu item to enable whenever any value arrives, or wxID_NONE.
 

Detailed Description

How the check marks of one Maxima variable's menu items follow its value.

Member Enumeration Documentation

◆ Kind

enum class MaximaMenuSyncRow::Kind : std::int8_t
strong
Enumerator
CheckedIfEqual 

A check item: checked exactly if the value equals the entry's value.

UncheckedIfEqual 

A check item: checked exactly if the value differs from the entry's value.

RadioFromValue 

Radio items: check the entry whose value equals the variable's value.

RadioFromSuffix 

Radio items: check the entry whose value the variable's value ends in.

Field Documentation

◆ m_enableId

int MaximaMenuSyncRow::m_enableId = wxID_NONE

A menu item to enable whenever any value arrives, or wxID_NONE.

Receiving the variable at all proves the Maxima side supports the feature (used to unlock the debugger-trigger submenu).


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