2.12. lf.win.con.objects — Windows console objects
This module defines classes to work with Microsoft Windows console functions.
-
class lf.win.con.objects.COORD
Represents coordinates.
-
x
- The x coordinate.
-
y
- The y coordinate.
-
classmethod from_stream(stream, offset=None, byte_order=LITTLE_ENDIAN)
Creates a COORD object from a stream.
Parameters: |
- stream (IStream) – A stream that contains the structure.
- offset (int) – The start of the structure in the stream.
- byte_order (constant) – The byte order to use (from lf.dtypes)
|
Return type: | COORD
|
Returns: | The corresponding COORD object.
|
-
classmethod from_ctype(ctype)
Creates a COORD object from a ctype.