ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class Windows10Window.Windows10Window(system, config, app=None)

I am a subclass of <no title> which knows about windows on Windows XP using the Windows Classic theme.

Parameters:

  • system: a <no title> object through which we interact with the window

  • config: a <no title> object for this user

  • app: if present, its a handle to the application controlling this Window

has_focus(*args, **kwargs)

Tell whether or not this window has focus. Obviously this may not always be 100% reliable, but hopefully it works most of the time.

Return: a boolean whether or not this window has focus