Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings

Writing a graphical user interface for Mathematica using Mathematica and MathLink

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

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.

*Wolfram Technology > Linking Technology > MathLink
*Wolfram Technology > Programming