Functions
Window Convenience API

Functions

def minx.core.window.focus
 Focus the specified window. More...
 
def minx.core.window.unfocus
 Unfocus the specified window. More...
 

Detailed Description

Function Documentation

def minx.core.window.focus (   w,
  c 
)

Focus the specified window.

Parameters
wThe minxlib.window object to be focused.
cThe minx.core.config object containing Minx settings.

This function sets the window's border attributes to those of the active window and then raises and focuses the window.

def minx.core.window.unfocus (   w,
  c 
)

Unfocus the specified window.

Parameters
wThe minxlib.window object to be unfocused.
cThe minx.core.config object containing Minx settings.

This function sets the window's border attributes to those of inactive windows.