Skip to Content
Programmieren von Kopf bis Fuß
book

Programmieren von Kopf bis Fuß

by David Griffiths, Paul Barry
April 2010
Beginner to intermediate
440 pages
9h 7m
German
O'Reilly Verlag
Content preview from Programmieren von Kopf bis Fuß

Das Modell bleibt gleich

Denken Sie einen Augenblick über das Modell nach, das Sie für die Radiobuttons nutzen. Es repräsentiert den Namen des gewählten Depots. Diesen benötigen Sie aber auch für die Optionsliste. Wenn das Modell gleich bleibt, kann Ihr Code, der aktuell so aussieht ...

depot = StringVar()
depot.set(None)
Radiobutton(app, variable = depot, text = "Cambridge, MA", value = "Cambridge, MA").pack()
Radiobutton(app, variable = depot, text = "Cambridge, UK", value = "Cambridge, UK").pack()
Radiobutton(app, variable = depot, text = "Seattle, WA",   value = "Seattle, WA").pack()

... durch diesen Code ersetzt werden:

image with no caption

Doch Moment ... das mit den ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Softwareentwicklung von Kopf bis Fuß

Softwareentwicklung von Kopf bis Fuß

Dan Pilone, Russ Miles
Netzwerke von Kopf bis Fuß

Netzwerke von Kopf bis Fuß

Al Anderson, Ryan Benedetti

Publisher Resources

ISBN: 9783868993127Purchase bookSupplemental Content