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
Last revisionBoth sides next revision
tkinter_calc_ii [2024/04/20 00:49] appledogtkinter_calc_ii [2024/04/20 00:49] appledog
Line 42: Line 42:
 </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.txt · Last modified: 2024/04/20 00:53 by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki