InputEventWithModifiers

Inherits: InputEvent < Resource < Reference < Object

Inherited By: InputEventKey, InputEventMouse

Category: Core

Brief Description

Base class for input events with modifiers.

Member Functions

bool get_alt ( ) const
bool get_command ( ) const
bool get_control ( ) const
bool get_metakey ( ) const
bool get_shift ( ) const
void set_alt ( bool enable )
void set_command ( bool enable )
void set_control ( bool enable )
void set_metakey ( bool enable )
void set_shift ( bool enable )

Member Variables

  • bool alt - State of the Alt modifier.
  • bool command - State of the Command modifier.
  • bool control - State of the Ctrl modifier.
  • bool meta - State of the Meta modifier.
  • bool shift - State of the Shift modifier.

Member Function Description

  • bool get_alt ( ) const
  • bool get_command ( ) const
  • bool get_control ( ) const
  • bool get_metakey ( ) const
  • bool get_shift ( ) const
  • void set_alt ( bool enable )
  • void set_command ( bool enable )
  • void set_control ( bool enable )
  • void set_metakey ( bool enable )
  • void set_shift ( bool enable )