|
|
||
|
|
|
| Built-in Mathematica Symbol | Tutorials »|See Also »|More About » |
| EventHandler[expr, {"event1":>action1, "event2":>action2, ...}] displays as expr, evaluating actioni whenever "eventi" occurs in connection with expr. |
| "MouseClicked" | mouse clicked without moving | |
| {"MouseClicked",i} | mouse button i clicked without moving | |
| "MouseDown" | primary mouse button depressed | |
| {"MouseDown",i} | mouse button i depressed | |
| "MouseDragged" | mouse moving with primary button depressed | |
| {"MouseDragged",i} | mouse moving with button i depressed | |
| "MouseMoved" | mouse moves in the region defined by expr | |
| "MouseUp" | primary mouse button released | |
| {"MouseUp",i} | mouse button i released |
| "KeyDown" | any key on the keyboard depressed | |
| {"KeyDown","x"} | key x depressed | |
| "ReturnKeyDown" | Return or Enter key depressed | |
| "EscapeKeyDown" | Esc key depressed | |
| "LeftArrowKeyDown" | left arrow key depressed | |
| "RightArrowKeyDown" | right arrow key depressed | |
| "UpArrowKeyDown" | up arrow key depressed | |
| "DownArrowKeyDown" | down arrow key depressed |
| {"MenuCommand","name"} | menu command with specified name chosen | |
| "WindowClose" | closing of window requested |
| PassEventsDown | Automatic | whether to pass events to inner event handlers | |
| PassEventsUp | True | whether to pass events to outer event handlers |