Lines Matching refs:button
128 """Redirect mouse button events to the main editor text widget."""
151 # Redirect mouse button events to the main editor text widget,
152 # except for the left mouse button (1).
160 for button in [2, 3, 4, 5]:
161 for event_name in (f'<Button-{button}>',
162 f'<ButtonRelease-{button}>',
163 f'<B{button}-Motion>',
169 for event_name in (f'<Double-Button-{button}>',
170 f'<Triple-Button-{button}>',
173 target_event_name=f'<Button-{button}>')
180 # upon <B1-Motion>, until <B1-Enter> or the mouse button is released.
437 # AquaTk defines <2> as the right button, not <3>.