@classmethod
	def __caughtKeys( cls ):

		if cls.__caughtKeysSet is None:

			try:
				# are we in maya? If so, we need to catch the ctrl and shift key presses to prevent
				# maya from handling them and doing crazy focus stealing stuff
				import maya
				cls.__caughtKeysSet = set( ["Control", "Shift"] )
			except __HOLE__:
				cls.__caughtKeysSet = set()

		return cls.__caughtKeysSet
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/Window.py/Window.__caughtKeys