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:25] – [Message] roehneren:tkinter [2022/03/04 13:29] – [Menubutton] roehner
Zeile 137: Zeile 137:
  
 A documentation of the drawing commands can be found under [[https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/canvas.html]]. A documentation of the drawing commands can be found under [[https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/canvas.html]].
- 
-\\ 
 ---- ----
 ==== Frame ==== ==== Frame ====
 {{:frame.png}} {{:frame.png}}
-A Frame is a container for other widgets. For example, the RadiobuttonGroup is a Frame that contains Radiobuttons. Frames are a good way to structure graphic interfaces.+A Frame is a container for other widgets. For example, the RadiobuttonGroup is a Frame that contains Radiobuttons. Frames are a good way to structure graphical interfaces. 
  
 To place a widget in a Frame, click on it in the Tkinter toolbar and then click in the Frame. To place a widget in a Frame, click on it in the Tkinter toolbar and then click in the Frame.
-\\ 
 ---- ----
 ==== LabelFrame ==== ==== LabelFrame ====
 {{:labelframe.png}} {{:labelframe.png}}
-A LabelFrame is a Frame that also has border with an integrated label. +A LabelFrame is a Frame that also has an additional border with an integrated label.
-\\+
 ---- ----
 +
 ==== Scale ==== ==== Scale ====
 {{:scale.png}} {{:scale.png}}
Zeile 206: Zeile 203:
         pass         pass
 </code> </code>
-\\ 
 ---- ----
 ==== PopupMenu ==== ==== PopupMenu ====
Zeile 223: 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