ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
PyWin32 Documentation
Win32 API
Objects
COMMTIMEOUTS
CopyProgressRoutine
DOCINFO
Dialog Header Tuple
Dialog Item Tuple
ExportCallback
FORM INFO 1
ImportCallback
LARGE INTEGER
NCB
NETRESOURCE
PRINTER DEFAULTS
PyACL
PyBITMAP
PyCEHANDLE
PyCOMSTAT
PyCOORD
PyCREDENTIAL
PyCREDENTIAL ATTRIBUTE
PyCREDENTIAL TARGET INFORMATION
PyCREDUI INFO
PyCRYPTPROTECT PROMPTSTRUCT
PyConsoleScreenBuffer
PyCredHandle
PyCtxtHandle
PyDCB
PyDEVMODE
PyDISPLAY DEVICE
PyDS HANDLE
PyDS NAME RESULT ITEM
PyEventLogRecord
PyGROUP INFO *
PyGROUP INFO 0
PyGROUP INFO 1
PyGROUP INFO 1002
PyGROUP INFO 1005
PyGROUP INFO 2
PyGROUP USERS INFO *
PyGROUP USERS INFO 0
PyGROUP USERS INFO 1
PyHANDLE
PyHDESK
PyHHNTRACK
PyHHN NOTIFY
PyHH AKLINK
PyHH FTS QUERY
PyHH POPUP
PyHH WINTYPE
PyHINTERNET
PyHKEY
PyHTHEME
PyHWINSTA
PyIID
PyINPUT RECORD
PyLOCALGROUP INFO *
PyLOCALGROUP INFO 0
PyLOCALGROUP INFO 1
PyLOCALGROUP INFO 1002
PyLOCALGROUP MEMBERS INFO *
PyLOCALGROUP MEMBERS INFO 0
PyLOCALGROUP MEMBERS INFO 1
PyLOCALGROUP MEMBERS INFO 2
PyLOCALGROUP MEMBERS INFO 3
PyLOGFONT
PyLSA HANDLE
PyLUID AND ATTRIBUTES
PyLsaLogon HANDLE
PyNMHDR
PyOVERLAPPED
PyOVERLAPPEDReadBuffer
PyPERF COUNTER DEFINITION
PyPERF OBJECT TYPE
PyPOINT
PyPROFILEINFO
PyPerfMonManager
PyRECT
PySCROLLINFO
PySECURITY ATTRIBUTES
PySECURITY DESCRIPTOR
PySERVER INFO *
PySERVER INFO 100
PySERVER INFO 101
PySERVER INFO 102
PySERVER INFO 402
PySERVER INFO 403
PySERVER INFO 502
PySERVER INFO 503
PySHARE INFO *
PySHARE INFO 0
PySHARE INFO 1
PySHARE INFO 2
PySHARE INFO 501
PySHARE INFO 502
PySID
PySID AND ATTRIBUTES
PySMALL RECT
PySTARTUPINFO
PySecBuffer
PySecBufferDesc
PyTOKEN GROUPS
PyTOKEN PRIVILEGES
PyTRUSTEE
PyTS HANDLE
PyTime
PyUSER INFO *
PyUSER INFO 0
PyUSER INFO 1
PyUSER INFO 10
PyUSER INFO 1003
PyUSER INFO 1005
PyUSER INFO 1006
PyUSER INFO 1007
PyUSER INFO 1008
PyUSER INFO 1009
PyUSER INFO 1010
PyUSER INFO 1011
PyUSER INFO 11
PyUSER INFO 2
PyUSER INFO 20
PyUSER INFO 3
PyUSER INFO 4
PyUSER MODALS INFO *
PyUSER MODALS INFO 0
PyUSER MODALS INFO 1
PyUSER MODALS INFO 2
PyUSER MODALS INFO 3
PyUSE INFO *
PyUSE INFO 0
PyUSE INFO 1
PyUSE INFO 2
PyUSE INFO 3
PyUnicode
PyWAVEFORMATEX
PyWKSTA INFO *
PyWKSTA INFO 100
PyWKSTA INFO 101
PyWKSTA INFO 102
PyWKSTA INFO 302
PyWKSTA INFO 402
PyWKSTA INFO 502
PyWKSTA TRANSPORT INFO *
PyWKSTA TRANSPORT INFO 0
PyWKSTA USER INFO *
PyWKSTA USER INFO 0
PyWKSTA USER INFO 1
PyWNDCLASS
RASDIALEXTENSIONS
RASDIALPARAMS
SC ACTION
SERVICE FAILURE ACTIONS
SERVICE STATUS
TRACKMOUSEEVENT
ULARGE INTEGER
WIN32 FIND DATA
connection
cursor

MyASPN >> Reference >> ActivePython 2.4 >> PyWin32 Documentation >> Win32 API >> Objects
ActivePython 2.4 documentation

PyConsoleScreenBuffer Object

Handle to a console screen buffer Create using win32console::CreateConsoleScreenBuffer or win32console::GetStdHandle Use PyConsoleScreenBufferType(Handle) to wrap a pre-existing handle as returned by win32api::GetStdHandle. Will also accept a handle created by win32file::CreateFile for CONIN$ or CONOUT$. Only handles created by CreateConsoleScreenBuffer will be closed when Python object is destroyed

Methods

Detach
Releases reference to handle without closing it 

Close
Closes the handle 

SetConsoleActiveScreenBuffer
Sets this handle as the currently display screen buffer 

GetConsoleCursorInfo
Retrieves size and visibility of console's cursor 

SetConsoleCursorInfo
Sets the size and visibility of console's cursor 

GetConsoleMode
Returns the input or output mode of the console buffer 

SetConsoleMode
Sets the input or output mode of the console buffer 

ReadConsole
Reads characters from the console input buffer 

WriteConsole
Writes characters at current cursor position 

FlushConsoleInputBuffer
Flush input buffer for console 

SetConsoleTextAttribute
Sets character attributes for subsequent write operations 

SetConsoleCursorPosition
Sets the console screen buffer's cursor position 

SetConsoleScreenBufferSize
Sets the size of the console screen buffer 

SetConsoleWindowInfo
Changes size and position of a console's window 

GetConsoleScreenBufferInfo
Returns the state of the screen buffer 

GetLargestConsoleWindowSize
Returns the largest possible size for the console's window 

FillConsoleOutputAttribute
Set text attributes for a consecutive series of characters 

FillConsoleOutputCharacter
Sets consecutive character positions to a specified character 

ReadConsoleOutputCharacter
Reads consecutive characters from a starting position 

ReadConsoleOutputAttribute
Retrieves attributes from consecutive character cells 

WriteConsoleOutputCharacter
Writes a string of characters at a specified position 

WriteConsoleOutputAttribute
Sets the attributes of a range of character cells 

ScrollConsoleScreenBuffer
Scrolls a region of the display 

GetCurrentConsoleFont
Returns the currently displayed font 

GetConsoleFontSize
Returns size of specified font for the console 

SetConsoleFont
Changes the font used by the screen buffer 

SetStdHandle
Replaces one of calling process's standard handles with this handle 

SetConsoleDisplayMode
Sets the display mode of the console buffer 

WriteConsoleInput
Places input records in the console's input queue 

ReadConsoleInput
Reads input records and removes them from the input queue 

PeekConsoleInput
Returns pending input records without removing them from the input queue 

GetNumberOfConsoleInputEvents
Returns the number of unread records in the input queue 


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved