wolfhece.math_parser.calculator

Author: HECE - University of Liege, Pierre Archambeau Date: 2024

Copyright (c) 2024 University of Liege. All rights reserved.

This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.

Module Contents

class wolfhece.math_parser.calculator.Calculator(mapviewer=None)[source]

Bases: wx.Frame

Inheritance diagram of wolfhece.math_parser.calculator.Calculator
property command: str[source]
property comment: str[source]
pack(items, orient=wx.HORIZONTAL)[source]

Pack items in a sizer

check_command() bool[source]

Check if the command is valid

evaluate_multilines()[source]

Evaluate multiline commands

evaluate(mem_last_command=True)[source]

Evaluate the command

char_press(e: wx.KeyEvent)[source]

Handle key press

bt_press(key)[source]

Handle button press