Graphical User Interfaces
Graphical User Interfaces
1 User Interfaces GUIs in Python with Tkinter object oriented GUI programming
2 Mixing Colors specification of the GUI the widget Scale
3 Simulating a Bouncing Ball layout of a basic GUI Canvas and Button widgets methods stop, start, animate methods drawball() and map2table()
MCS 275 Lecture 5 Programming Tools and File Management
Jan Verschelde, 20 January 2017
Programming Tools (MCS 275)
Graphical User Interfaces
L-5 20 January 2017 1 / 33
Graphical User Interfaces
1 User Interfaces GUIs in Python with Tkinter object oriented GUI programming
2 Mixing Colors specification of the GUI the widget Scale
3 Simulating a Bouncing Ball layout of a basic GUI Canvas and Button widgets methods stop, start, animate methods drawball() and map2table()
Programming Tools (MCS 275)
Graphical User Interfaces
L-5 20 January 2017 2 / 33
User Interfaces
Interfaces define the dialogue with the user, which concerns mainly input and output. Compared to prompting and printing of command line interfaces, graphical user interfaces offer
1 a friendly face of the program, 2 give the user control of the actions via buttons to press GUIs are
event driven, 3 one picture says more than one thousand words. Good design: interface is separate from the software that does the calculations or the transactions.
Programming Tools (MCS 275)
Graphical User Interfaces
L-5 20 January 2017 3 / 33
Tkinter, Tk, and Tcl
GUIs for Python programmers
The Tkinter (= Tk interface) library provides an object-oriented interface to the Tk GUI toolkit, the graphical interface development tool for Tcl, Tk = Tool Kit, Tcl = Tool Command Language.
Benefit: platform independent GUI development.
Programming Tools (MCS 275)
Graphical User Interfaces
L-5 20 January 2017 4 / 33
GUI programming in Python
Tkinter is a toolkit available to Python as a module: >>> import tkinter
Often it needs to be installed separately. There are alternative toolkits to build GUIs in Python. Principles of GUI programming transfer to other toolkits.
Programming Tools (MCS 275)
Graphical User Interfaces
L-5 20 January 2017 5 / 33
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- graphical user interfaces
- pyautogui documentation
- chapter14 graphical user interfaces
- using microsoft visual studio to create a graphical user
- gui and event driven programming purdue university
- gui input and output miami university
- chapter 13 turtle graphics
- creating graphical user interface gui programs with
- ese 150 lab 12 user interface
Related searches
- graphical calculator windows
- graphical calculator app
- calculus graphical numerical algebraic pdf
- calculus graphical numerical algebraic 4th
- graphical numerical algebraic pdf
- calculus graphical numerical algebraic online
- calculus graphical numerical
- calculus graphical numerical algebraic finney
- calculus graphical numerical algebraic answers
- calculus numerical graphical algebraic 3rd
- ap calculus graphical numerical algebraic
- calculus numerical graphical algebraic 5th