CatapultServer  v0.5.0.1 (Elephant)
colorama.win32 Namespace Reference

Classes

class  CONSOLE_SCREEN_BUFFER_INFO
 

Functions

def winapi_test ()
 
def GetConsoleScreenBufferInfo (stream_id=STDOUT)
 
def SetConsoleTextAttribute (stream_id, attrs)
 
def SetConsoleCursorPosition (stream_id, position, adjust=True)
 
def FillConsoleOutputCharacter (stream_id, char, length, start)
 
def FillConsoleOutputAttribute (stream_id, attr, length, start)
 
def SetConsoleTitle (title)
 

Variables

int STDOUT = -11
 
int STDERR = -12
 
 windll = LibraryLoader(ctypes.WinDLL)
 
 SetConsoleTextAttribute = lambda *_: None
 
 winapi_test = lambda *_: None
 
 COORD = wintypes._COORD
 
 _GetStdHandle
 
 argtypes
 
 restype
 
 _GetConsoleScreenBufferInfo = windll.kernel32.GetConsoleScreenBufferInfo
 
 _SetConsoleTextAttribute = windll.kernel32.SetConsoleTextAttribute
 
 _SetConsoleCursorPosition = windll.kernel32.SetConsoleCursorPosition
 
 _FillConsoleOutputCharacterA = windll.kernel32.FillConsoleOutputCharacterA
 
 _FillConsoleOutputAttribute = windll.kernel32.FillConsoleOutputAttribute
 
 _SetConsoleTitleW = windll.kernel32.SetConsoleTitleA
 
dictionary handles
 

Function Documentation

◆ FillConsoleOutputAttribute()

def colorama.win32.FillConsoleOutputAttribute (   stream_id,
  attr,
  length,
  start 
)
FillConsoleOutputAttribute( hConsole, csbi.wAttributes, dwConSize, coordScreen, &cCharsWritten )

◆ FillConsoleOutputCharacter()

def colorama.win32.FillConsoleOutputCharacter (   stream_id,
  char,
  length,
  start 
)

◆ GetConsoleScreenBufferInfo()

def colorama.win32.GetConsoleScreenBufferInfo (   stream_id = STDOUT)
Here is the caller graph for this function:

◆ SetConsoleCursorPosition()

def colorama.win32.SetConsoleCursorPosition (   stream_id,
  position,
  adjust = True 
)
Here is the call graph for this function:

◆ SetConsoleTextAttribute()

def colorama.win32.SetConsoleTextAttribute (   stream_id,
  attrs 
)

◆ SetConsoleTitle()

def colorama.win32.SetConsoleTitle (   title)

◆ winapi_test()

def colorama.win32.winapi_test ( )

Variable Documentation

◆ _FillConsoleOutputAttribute

colorama.win32._FillConsoleOutputAttribute = windll.kernel32.FillConsoleOutputAttribute
private

◆ _FillConsoleOutputCharacterA

colorama.win32._FillConsoleOutputCharacterA = windll.kernel32.FillConsoleOutputCharacterA
private

◆ _GetConsoleScreenBufferInfo

colorama.win32._GetConsoleScreenBufferInfo = windll.kernel32.GetConsoleScreenBufferInfo
private

◆ _GetStdHandle

colorama.win32._GetStdHandle
private

◆ _SetConsoleCursorPosition

colorama.win32._SetConsoleCursorPosition = windll.kernel32.SetConsoleCursorPosition
private

◆ _SetConsoleTextAttribute

colorama.win32._SetConsoleTextAttribute = windll.kernel32.SetConsoleTextAttribute
private

◆ _SetConsoleTitleW

colorama.win32._SetConsoleTitleW = windll.kernel32.SetConsoleTitleA
private

◆ argtypes

colorama.win32.argtypes

◆ COORD

colorama.win32.COORD = wintypes._COORD

◆ handles

dictionary colorama.win32.handles
Initial value:
1 = {
2  STDOUT: _GetStdHandle(STDOUT),
3  STDERR: _GetStdHandle(STDERR),
4  }

◆ restype

colorama.win32.restype

◆ SetConsoleTextAttribute

colorama.win32.SetConsoleTextAttribute = lambda *_: None

◆ STDERR

int colorama.win32.STDERR = -12

◆ STDOUT

int colorama.win32.STDOUT = -11

◆ winapi_test

colorama.win32.winapi_test = lambda *_: None

◆ windll

colorama.win32.windll = LibraryLoader(ctypes.WinDLL)
colorama.win32._GetStdHandle
_GetStdHandle
Definition: win32.py:39