Script
Public Slots | List of all members
KeyModifiers Class Reference

#include <keyinterface.h>

Inheritance diagram for KeyModifiers:
Inheritance graph
[legend]
Collaboration diagram for KeyModifiers:
Collaboration graph
[legend]

Public Slots

bool IsShiftPressed ()
 Check if the Shift key is pressed.
 
bool IsControlPressed ()
 Check if the Ctrl key is pressed.
 
bool IsAlternatePressed ()
 Check if the Alt key is pressed.
 
bool IsSpacePressed ()
 Check if the space key is pressed.
 

Detailed Description

Scripting interface class to query key modifiers.

You can use it in Script Editor only.

Member Function Documentation

bool KeyModifiers::IsAlternatePressed ( )
slot

Check if the Alt key is pressed.

bool KeyModifiers::IsControlPressed ( )
slot

Check if the Ctrl key is pressed.

bool KeyModifiers::IsShiftPressed ( )
slot

Check if the Shift key is pressed.

bool KeyModifiers::IsSpacePressed ( )
slot

Check if the space key is pressed.


The documentation for this class was generated from the following file: