| Title |
Using Tkinter of Python to Create Graphical User Interface (GUI) for Scripts in LNLS |
| Authors |
- D.B. Beniz, A.M. Espindola
LNLS, Campinas, Brazil
|
| Abstract |
Python is being widely used to create scripts which cover different necessities in computational scenario. At LNLS we successfully developed Python scripts to control beamlines operations, including a case of Graphical User Interface (GUI) creation using Tkinter, which is the standard GUI programming toolkit of Python, for one of our beamlines, DXAS (Dispersive X-ray Absorption Spectroscopy). Tkinter offers the basic components necessary to build a GUI that help users to quickly inform a set of parameters defining which device to use, its configuration to set, among others, and to easily start or stop operations. Such components include widgets like (text) entry, radio button, check button, and (action) button. Using text entries we developed a custom table widget for input of parameters. Tkinter also allows us to inform and to guide users by label and message boxes, and to organize the window components by frames, paned windows and geometry managers, pack or grid. It is also available notebook and menu widgets to organize tabs and call other windows. Finally, all the interface construction was done using ordinary text editors and no extra library was needed to install for python.
|
| Paper |
download WEPOPRPO25.PDF [0.574 MB / 3 pages] |
| Poster |
download WEPOPRPO25_POSTER.PDF [0.406 MB] |
| Export |
download ※ BibTeX
※ LaTeX
※ Text/Word
※ RIS
※ EndNote |
| Conference |
PCaPAC2016, Campinas, Brazil |
| Series |
International Workshop on Personal Computers and Particle Accelerator Controls (11th) |
| Proceedings |
Link to full PCaPAC2016 Proccedings |
| Session |
Poster Session - Wednesday |
| Date |
26-Oct-16 15:30–18:00 |
| Main Classification |
User Interface and Tools |
| Keywords |
ion, controls, interface, GUI, EPICS |
| Publisher |
JACoW, Geneva, Switzerland |
| Editors |
Volker RW Schaa (GSI, Darmstadt, Germany) |
| ISBN |
978-3-95450-189-2 |
| Published |
September 2017 |
| Copyright |
|