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 StartMenuWindowWin10.StartMenuWindowWin10(system, config, app=None)

The start menu is a special type of window that might require scrolling or searching, many of the things a normal window would do

get_focus(*args, **kwargs)

Switch the system so that this window has focus.

Return: a boolean indicating whether or not this failed

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

save_state(*args, **kwargs)

Save the current state of this window – assuming it is currently on top.