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

Implement a subclass of Window to deal with them on Fluxbox.

Parameters:

  • system: a handle to the remote <no title> on which this window “lives”

  • config: a <no title> object

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

find_window_edges()

Find the 4 corners of this window.

Preconditions:
  • the window of interest is “on top”

  • the window of interest has focus

  • the window of interest is fully visible (not off any edges)

Postconditions:
  • system state is unchanged, save possibly having the mouse moved

  • self.<corner> variables are populated if possible

Return True if the corners were found, False otherwise