The event modifiers

The event modifiers are an optional component for creating an event binding. A list of event modifiers is listed as follows. However, note that most of the event modifiers are platform-specific and may not work across all platforms.

Modifier

Description

Alt

True when Alt key is pressed.

Any

Generalizes an event type. For example <Any-KeyPress> is True when any key is pressed.

Control

True when Ctrl (Control) key is pressed.

Double

Specifies two events occurring in rapid succession. For example, <Double-Button-1>is double-click of mouse button 1.

Lock

True if Caps Lock/Shift lock is pressed

Shift

True if Shift key is pressed

Triple

Similar to Double (three events occurring in rapid succession)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.45.5