Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
要素をバインドして、マウスがその上に置かれたときに何かを実行したいと考えています。そのようなバインドを許可する修飾子は何ですか?
The <Enter> and <Leave> events. For example:
<Enter>
<Leave>
place [frame .f -width 100 -height 100 -bg red] -x 10 -y 10 bind .f <Enter> {%W configure -bg blue} bind .f <Leave> {%W configure -bg red}