What would it take to make graphics show on the monitor without using stuff like tkinter and Qt? (tkinter and Qt are called toolkits right?)
mahela007
6
Posting Whiz in Training
Recommended Answers
Jump to PostThat depends on what kind of graphics you are talking about. If yo just want to draw lines and circles and so on, you can use Jim Zelle's module graphics.py, a free download from:
http://mcsp.wartburg.edu/zelle/python/graphics.pyThis module is a thin wrapper for Tkinter and …
Jump to PostIf you have a Windows computer, you have to look in the Windows API for a suitable function.
Jump to PostModules like Tkinter will look for the corresponding operating system's functions. One can build that in, or make it specific for the installation. In other words, Tkinter (the module, not the syntax) will differ from one OS install to the other, just like Python's module os differs.
Jump to PostSo I tell something to tkinter and tkinter tells a translated version of that "something" to windows?
If that's so, how come tkinter is cross platform?
I mean, Linux and Windows do things quite differently so how would tkinter know what functions to call on each operating system?When they …
All 16 Replies
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
mahela007
6
Posting Whiz in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
mahela007
6
Posting Whiz in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
pythopian
10
Junior Poster in Training
mahela007
6
Posting Whiz in Training
woooee
814
Nearly a Posting Maven
mahela007
6
Posting Whiz in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
mahela007
6
Posting Whiz in Training
Mathhax0r
2
Junior Poster in Training
mahela007
6
Posting Whiz in Training
pythopian
10
Junior Poster in Training
woooee
814
Nearly a Posting Maven
mahela007
6
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.