The AltTabEventManager class inherits from IOEventManager to implement Alt+tab key shortcut using Xlib. More...
#include <alttabeventmanager.h>
Public Member Functions | |
AltTabEventManager () | |
~AltTabEventManager () | |
void | initData () |
initData This function initializes the atributes needed for using the event later on More... | |
void | gestureInitialize (EventData ¶m) |
gestureInitialize This function is called when the event needs to be started More... | |
void | gestureInProgressUpdate (EventData ¶m) |
gestureInProgressUpdate This function is called when the event is happening More... | |
void | gestureFinalize (EventData ¶m) |
gestureFinalize This function is called when the event needs to be finalized More... | |
![]() | |
IOEventManager () | |
Additional Inherited Members | |
![]() | |
bool | hasBeenInit |
The AltTabEventManager class inherits from IOEventManager to implement Alt+tab key shortcut using Xlib.
This class will simulate the alt+tab or alt+shift+tab depending if the offset given when calling AltTabEventManager::gestureInProgressUpdate() is positive or negative. Tab pressing is going to be simulated as many tames as AltTabEventManager::gestureInProgressUpdate() is called
AltTabEventManager::AltTabEventManager | ( | ) |
AltTabEventManager::~AltTabEventManager | ( | ) |
|
virtual |
gestureFinalize This function is called when the event needs to be finalized
param | data of the frame needed for the event |
This function should not be called again until IOEventManager::gestureInitialize has been called.
In the example of doing a mouse click and drag this function would unclick the button. In the example of recording a video this function should close the file descriptor.
Implements IOEventManager.
|
virtual |
gestureInitialize This function is called when the event needs to be started
param | data of the frame needed for the event |
In the example of doing a mouse click and drag this would be the function when the button is clicked. In the example of recording a video the file descriptor should be created in this function.
This function should not be called again until IOEventManager::gestureFinalize has been called.
Implements IOEventManager.
|
virtual |
gestureInProgressUpdate This function is called when the event is happening
param | data of the frame needed for the event |
This function could be called several times. In the example of doing a mouse click and drag this would be the function that updates the mouse position. In the exmample of recording a video each call to this function would store a frame.
Implements IOEventManager.
|
virtual |
initData This function initializes the atributes needed for using the event later on
Implements IOEventManager.