Kanzi 3.9.10
kanzi::NavigationGesture Struct Reference

Declares a navigation gesture. More...

#include <kanzi/core.ui/input/navigation_manipulator.hpp>

Inheritance diagram for kanzi::NavigationGesture:
[legend]

Public Member Functions

 NavigationGesture (NavigationDirection navigationDirection, LogicalKey key)
 
- Public Member Functions inherited from kanzi::KeyGestureInfo
void grab ()
 Grabs the key gesture, increases the grab count by 1.
 
bool isGrabbed () const
 Returns whether the key gesture is grabbed.
 
 KeyGestureInfo ()=default
 Default constructor.
 
 KeyGestureInfo (LogicalKey key)
 Constructor.
 
 KeyGestureInfo (LogicalKey key, CapsLockState capsLockState)
 Constructor.
 
 KeyGestureInfo (LogicalKey key, KeyModifier modifier)
 Constructor.
 
 KeyGestureInfo (LogicalKey key, KeyModifier modifier, CapsLockState capsLockState)
 Constructor.
 
void ungrab ()
 Resets the grab count of the key gesture.
 

Public Attributes

bool isEnabled
 The enabled state of the navigation gesture.
 
NavigationDirection navigationDirection
 The navigation direction identifier of the gesture.
 
- Public Attributes inherited from kanzi::KeyGestureInfo
CapsLockState capsLockState
 Holds the required Caps Lock state for the key gesture.
 
const KeyEventgrabbedKeyEvent
 The grabbed key event.
 
size_t grabCount
 Holds the grab count of the key gesture.
 
bool isCapsLockGrabbed
 Holds the Caps Lock state at the time Kanzi grabs the key gesture.
 
LogicalKey key
 The logical key value.
 
KeyModifier modifier
 The key modifier.
 
size_t repeatCount
 Holds the key press repetition count.
 

Detailed Description

Declares a navigation gesture.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ NavigationGesture()

kanzi::NavigationGesture::NavigationGesture ( NavigationDirection navigationDirection,
LogicalKey key )
inlineexplicit

Member Data Documentation

◆ navigationDirection

NavigationDirection kanzi::NavigationGesture::navigationDirection

The navigation direction identifier of the gesture.

◆ isEnabled

bool kanzi::NavigationGesture::isEnabled

The enabled state of the navigation gesture.


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