en:tkinter
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | Letzte ÜberarbeitungBeide Seiten der Revision | ||
en:tkinter [2022/03/04 13:26] – [Menubutton] roehner | en:tkinter [2022/03/04 13:29] – [Menubutton] roehner | ||
---|---|---|---|
Zeile 223: | Zeile 223: | ||
{{: | {{: | ||
The PopupMenu must also be created and then entered in the //Menu// attribute of the Menubutton. | The PopupMenu must also be created and then entered in the //Menu// attribute of the Menubutton. | ||
+ | ---- | ||
+ | ==== OptionMenu ==== | ||
+ | {{: | ||
+ | |||
+ | The selected option is accessed via the CV control variable. | ||
+ | |||
+ | <code python> | ||
+ | print(self.optionMenu1CV.get()) | ||
+ | </ | ||
---- | ---- | ||
en/tkinter.txt · Zuletzt geändert: 2022/08/21 18:06 von roehner