Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:tkinter

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
en:tkinter [2022/03/04 11:41] – [LabelFrame] roehneren:tkinter [2022/03/04 13:29] – [Menubutton] roehner
Zeile 203: Zeile 203:
         pass         pass
 </code> </code>
-\\ 
 ---- ----
 ==== PopupMenu ==== ==== PopupMenu ====
Zeile 220: Zeile 219:
         pass         pass
 </code> </code>
-\\ +----
----+
 ==== Menubutton ==== ==== Menubutton ====
 {{:menubutton.png}} A Menubutton is a button that displays a PopupMenu when clicked. {{:menubutton.png}} A Menubutton is a button that displays a PopupMenu when clicked.
 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 ==== 
 +{{:optionmenu.png}} With an OptionMenu you can select an item from a given string list in the manner of a menu. The string list is specified in the //MenuItems// attribute. 
 + 
 +The selected option is accessed via the CV control variable. 
 + 
 +<code python> 
 +    print(self.optionMenu1CV.get()) 
 +</code>
 ---- ----
  
en/tkinter.txt · Zuletzt geändert: 2022/08/21 18:06 von roehner