Difference between revisions of "Tkinter"
From ArmadeusWiki
(→Installation) |
|||
Line 5: | Line 5: | ||
==Installation== | ==Installation== | ||
+ | <pre class="config"> | ||
+ | Target packages ---> | ||
+ | Interpreter languages and scripting ---> | ||
+ | ... | ||
+ | [*] tcl | ||
+ | [*] delete encodings (saves 1.4Mb) | ||
+ | [*] install only shared library | ||
+ | tcl libraries/modules ---> | ||
+ | [*] tk | ||
+ | [*] remove demos | ||
+ | ... | ||
+ | [*] python | ||
+ | core python modules ---> | ||
+ | ... | ||
+ | [*] tkinter | ||
+ | </pre> | ||
==Quick test== | ==Quick test== |
Revision as of 12:22, 21 July 2014
Page under construction... Informations on this page are not guaranteed !!
Introduction
The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit.
Installation
Target packages ---> Interpreter languages and scripting ---> ... [*] tcl [*] delete encodings (saves 1.4Mb) [*] install only shared library tcl libraries/modules ---> [*] tk [*] remove demos ... [*] python core python modules ---> ... [*] tkinter
Quick test
from Tkinter import *
root = Tk()
w = Label(root, text="Hello, world!") w.pack()
root.mainloop()