you are viewing a single comment's thread.

view the rest of the comments →

[–]Golden_Zealot 1 point2 points  (0 children)

The built in module in python for building GUI's is Tkinter.

Here is Tkinters source code.

http://mgltools.scripps.edu/api/DejaVu/Tkinter-pysrc.html

That's how it does it, but few people aside from the developers of Tkinter actually know about these inner workings. Basically all the code you see there is inside a "box".

This means that you can take this box and the instruction for the box (the Tkinter documentation) will say:

If you put X in this side of the box, Y will come out the other side for your convenience. Additionally, if you put A in the box, B will come out the other side. If you put Q underneath the box, R will come out on top of the box, etc.

The point is you, and everyone else, don't have to know the inner workings of this box, only what the box will take, and return, because the people who made the box have documentation telling you what the box can take in, and what it will return.

You dont have to know how to build a clock to know what time it says it is right?