User Tools

Site Tools


tkinter_calc_ii

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tkinter_calc_ii [2024/04/20 00:49] appledogtkinter_calc_ii [2024/04/20 00:53] (current) appledog
Line 1: Line 1:
 = TKInter Calc II = TKInter Calc II
 +
 +== Themed Widgets
 +Use ttk.button() //etc.// whenever possible. That's because ttk is the newest version. tk.button() and others are old, don't use them unless ttk. doesn't work.
  
 == Binding == Binding
Line 42: Line 45:
 </Code> </Code>
  
-Here, a lambda is used to handle left clicks with <Button-1> while the more general <Button> handles both left and right, but uses %%event.num == 2%% to determine right click vs. left click, so it could handle both if needed.+Here, a lambda is used to handle left clicks with <Button-1> while the more general <Button> handles both left and right, but uses <Code:Python>event.num == 2</Code> to determine right click vs. left click, so it could handle both if needed.
  
 == Dragging == Dragging
tkinter_calc_ii.1713574161.txt.gz · Last modified: 2024/04/20 00:49 by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki