Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title

Writing a graphical user interface for Mathematica using Mathematica and MathLink
Authors

Chikara Miyaji
Organization: Japan Institute of Sports Sciences
Hiroshi Kimura
Journal / Anthology

Innovation in Mathematics: Proceedings of the Second International Mathematica Symposium
Year: 1997
Page range: 345-352
Description

Interactive graphics are a weak part of Mathematica. In this article, a MathLink program which provides interactive graphics in realtime will be introduced. The program can be used to detect a user interface event, and send it to the Mathematica Kernel as an Event Expression. This mechanism enables one to write Graphical User Interface (GUI) in Mathematica. To define a GUI object in Mathematica, an Object Oriented Programming Style (OOPS) is introduced. The combination of realtime interaction and kernel evaluation provides a dynamical interface building, execution, and debugging environment. In this article, the overall design of the program will be discussed.
Subjects

*Mathematica Technology > Linking Technology > MathLink
*Mathematica Technology > Programming