Returns the event mask for this corresponding to the device class specified by source.
| this |
a Window |
| source |
a InputSource to define the source class. |
|
source event mask for this |